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
4 Replies
- 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 OPI'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
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
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?