why our discord bot is making too many requests?!
We made a discord for studying server that starts timers and makes a leaderboard, the bot works fine but after random amount of use discord API banns the bot we looked on the code, but we couldn't find the block that could make too many requests.
The case is the bot is just sending messages and fetching some users names for the leaderboard.
Could you guys help us find why this thing is happening ?
Thanks for all.
The error message:
429 Too Many Requests (error code: 0): You are being blocked from accessing our API temporarily due to exceeding our rate limits frequently.