Unknown interaction error when responding to RateLimitError
So I've been running into this very annoying
I looked around in this channel a bit and I've seen the common causes tag, but:
- This error gets thrown immediately, it isn't because I'm responding too slow
- I'm not using a collector
- There's only a single process handling this interaction
I've been using this bot skeleton for years, but I've never ran into this kind of problem before, so I'm almost absolutely certain that there's no overlapping interaction events or such.
Relevant pieces of code linked below.
Interaction handler: https://github.com/MayberryZoom/dread-bot/blob/main/dread-bot.js#L92
Command body: https://github.com/MayberryZoom/dread-bot/blob/main/commands/channel.js#L41
Line triggering the error: https://github.com/MayberryZoom/dread-bot/blob/main/commands/channel.js#L56
Unknown interaction bug, randomly triggering when I get rate limited on changing a channel. When I say triggering randomly, I mean sometimes it catches the error perfectly fine (rejecting and triggering my error response), and sometimes it crashes the bot. I don't know if I've overlooked something obvious (and honestly, I hope that's the case).I looked around in this channel a bit and I've seen the common causes tag, but:
- This error gets thrown immediately, it isn't because I'm responding too slow
- I'm not using a collector
- There's only a single process handling this interaction
I've been using this bot skeleton for years, but I've never ran into this kind of problem before, so I'm almost absolutely certain that there's no overlapping interaction events or such.
Relevant pieces of code linked below.
Interaction handler: https://github.com/MayberryZoom/dread-bot/blob/main/dread-bot.js#L92
Command body: https://github.com/MayberryZoom/dread-bot/blob/main/commands/channel.js#L41
Line triggering the error: https://github.com/MayberryZoom/dread-bot/blob/main/commands/channel.js#L56
