.setAvatar() Help
I made a Bot Dashboard to manage my bot's settings. One of the settings is the bot's avatar. When I call
client.user.setAvatar(base64_img_url)
, it doesn't set the Avatar.![](https://utfs.io/f/48e7bc3e-83da-4613-b039-78db8ff303b5-1nq2cb.png)
6 Replies
Unknown Userβ’2y ago
Message Not Public
Sign In & Join Server To View
none
Yes, it logs the client
![](https://utfs.io/f/90320748-9021-4e54-a0ea-5dbb8518d15c-1nq2cb.png)
No
Thatβs the one Iβm changing it from
@tiπ
±ππ
° is not Souji the docs said the .setAvatar takes base 64 urls
Is that true
Cause thatβs how Iβm setting it. The dashboard gets an uploaded image and turns it into a data url
It should but doesnβt
So it works if I run the code in the ready event
I found that it wasnt sending the data to my server because the image url was too big