#Hello, i am changing my bots profile picture in code, but after changing it, it wont change on the s
1 messages · Page 1 of 1 (latest)
Real client, not bot's client, so it makes sense to not work for others too
As example, when you're opening Discord in browser, or inside the desktop app, a client is made, similar to how a bot works
That clients holds cache of images
hmm okay, theres probably no way to "fixing" that except for waiting until discord is updating their client right?
If that's the actual problem, which is likely, then yes, you have nothing to fix. Discord won't likely update their client to support this. Though, after some time, without restarting Discord app, the image should be updated
yea it does when restarting
i've tried to have a second command with a timeout 8 minutes later that takes the URL of the actual avatar and change it to the same again but doesnt seem to work yet
oh wait nvm it worked
xD
Well then it's set, app cache is the problem
yea true its just the cache
You will find this kind of problem for other operations too: like updating a channel, and not seeing it updated in the app
It can be anything that involves caching. Let's say your bot deletes a channel: it might not appear deleted in the app, but you can't access it either. If you restard Discord, then it's gone
ahh
I'm not sure if all these problems are related to Discord.js, but I got no insight from devs. I tell you so you don't go through the same pain. Is not your code the problem
yea i thought about that instantly that it would be a problem with discord instead of .js but apparently you can fix it by double changing