how come when reply to an interaction twice within ~5 seconds it gives an error

i have a slash command that is doing interaction.reply. if i run it and wait 10 seconds and run it again, it works fine. if i run it one after another, the whole app crashes and says "DiscordAPIError: Unknown interaction" what does this mean? why is it happening? what am i supposed to do?
4 Replies
d.js docs
d.js docs2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Stealth
Stealth2y ago
if this happens just locally or at all, try searching for instances of your bot in your processes "task manager" or etc and delete node.js process and make sure you are not running your bot elsewhere
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server
More Posts