TogetherCrew / discord-bot

2 stars 1 forks source link

Implement Rate Limit Handler for Discord API Calls #22

Open Behzad-rabiei opened 1 year ago

Behzad-rabiei commented 1 year ago

Description:

To ensure compliance with Discord API rate limits and provide better handling of rate limit errors in our Discord bot, we need to implement a rate limit handler. This handler will handle rate limit errors returned by the Discord API and appropriately delay or queue API calls to prevent exceeding the rate limits.

Tasks to Implement:

1. Implement rate limit handler

2. Integrate rate limit handler with existing Discord API calls

Additional Notes:

References:

cyri113 commented 1 year ago

@Behzad-rabiei was this completed? or should we move it to another iteration?