Rate Limits? Bot Offline
meziosaur (0)

Hello,

My bot on replit won't run, and I was shown this link
https://discord.com/developers/docs/topics/rate-limits

I'm not sure why this happens, is the bot getting too many commands at once?
If anyone encountered this, what are you solutions?

You are viewing a single comment. View All
FishballNooodle (218)

If you are using a coroutine function (aka using await) in a for/while loop, you will be causing a ratelimit there since every corountine is 1 request.
Python runs a few thousand requests per second so you should try using a more sustainable alternative