setNickName limitations
Hi everyone!
I have a bot that changes its nickname every time a websocket is updated (around 10/15 seconds) and I can't find the problem why it stops changing.
As a test, I made this method that I call every 1 second and you can see that after change #20 it stops updating.
As I checked on the Discord developers discord the API has a limitation that "it is returned in the response headers", but I don't know how to handle it from discord.js. Can anyone help me?
I have a bot that changes its nickname every time a websocket is updated (around 10/15 seconds) and I can't find the problem why it stops changing.
As a test, I made this method that I call every 1 second and you can see that after change #20 it stops updating.
As I checked on the Discord developers discord the API has a limitation that "it is returned in the response headers", but I don't know how to handle it from discord.js. Can anyone help me?