Everything executes fine, but then it crashes

I was having an issue ages ago where the code after the interaction.reply was being run twice, then it just randomly went away. Now, I have everything being executed as intended, but I am guessing the double handling is happening again but its now missing context or something and crashing. Its just a guess I am not sure, but I also dont know what to do from here https://sourceb.in/zXvnRVnR5Q this is the error response: (I removed the try/catch to get more details on the errors and let it crash) https://sourceb.in/IynnHw5tom
SourceBin
bot.js
Instantly share your code with the world.
SourceBin
Crash
Instantly share your code with the world.
4 Replies
d.js toolkit
d.js toolkit6mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
TÆMBØ
TÆMBØ6mo ago
I'm not seeing anything out of the ordinary with that code. It's possible your network connection is just not fast enough for the reply to get through to Discord within 3 seconds
Star
Star6mo ago
I have extremely poor internet connection and I get this error all the time when my internet is very poor It's a bad way of saying your internet isn't working but whenever I see that I don't stress it
FoxMeDead
FoxMeDeadOP6mo ago
ok so I just gotta add an error handler that ignores erros or something? xd I am using a browser IDE so im guessing once I deploy this, it should chill out right?
Want results from more Discord servers?
Add your server