Exiled-Team / DiscordIntegration

GNU General Public License v3.0
13 stars 37 forks source link

[BUG] Rate limite #91

Closed Vladislav-CS closed 2 years ago

Vladislav-CS commented 2 years ago

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

joker-119 commented 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.

joker-119 commented 2 years ago

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.