.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.6 Replies
Unknown Userβ’3y ago
Message Not Public
Sign In & Join Server To View
none
Yes, it logs the client
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