Are interactions effected by rate limits?

My dev bot responds to commands perfectly but production continuously gets the The application did not respond error message, I know it isn't an issue with the code since the dev bot works fine. My question is, if my bot gets rate limited does that prevent users from running new commands? If not, does anyone know of any reasons why commands wouldn't be responded to that I am overlooking?
15 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
monbrey
monbrey2y ago
It may be that your prod host/network connection is simply much slower
Stqlth
StqlthOP2y ago
hmmm, that's what I figured, I'm just at a loss for why they are failing yea could be this at start up they were being responded to
monbrey
monbrey2y ago
Do you commands do any slower tasks like look up a database or something?
Stqlth
StqlthOP2y ago
but after a while they all start failing
monbrey
monbrey2y ago
If your bot slows down over time you might have a memory leak
Stqlth
StqlthOP2y ago
yea but I defer all commands at the start
monbrey
monbrey2y ago
For it not to respond, that means its not even reaching the defer then? Sounds like a memory leak
Stqlth
StqlthOP2y ago
yep, it happens very early my servers aren't even out of memory though
Stqlth
StqlthOP2y ago
I don't believe it is, I just checked one of my servers and all shards are using a normal amount of memory:
Stqlth
StqlthOP2y ago
More clear ss:
monbrey
monbrey2y ago
thats a lot of shards. How big is your bot
Stqlth
StqlthOP2y ago
380k servers haven't ran into this issue before and the most recent update changed very little to the basic handling of commands
monbrey
monbrey2y ago
Might be better to ask in Discord API channels Or at least ask there too, as it might not be djs related
Stqlth
StqlthOP2y ago
👍 gotcha thanks
Want results from more Discord servers?
Add your server