Closed Vladislav-CS closed 2 years ago
I'll add that check, but also, you can slow down the interval at which the plugin sends the status update message itself aswell, to alleviate the ratelimit that way until this check is in place.
Try updating the bot to the newest release (1.3.1) and see if the issue persists.
If it does, you will likely need to adjust the status_update_interval
config value in your plugin's config so that it sends the updates less frequently.
This should only be an issue if the playercount on your server changes very frequently.
Please add a check for the status is not the same as that of the bot at the time, because of this, it updates the status to one and the same, thereby causing a discord rate limit