"There was an error in the slash command" fails under "interaction already replied " #897
-
If you reply to the interaction and then cause an error all of index.js will crash. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Please provide the code and the complete error so we can help you identify where the issue occurs. As per the title of this issue, this error seems to be caused due to you Also, please use GitHub Discussions or the discord server. |
Beta Was this translation helpful? Give feedback.
-
I don't have the code anymore. But the missing followUp is missing in what this script provides. My fix appears here: |
Beta Was this translation helpful? Give feedback.
Please provide the code and the complete error so we can help you identify where the issue occurs.
As per the title of this issue, this error seems to be caused due to you
.reply
ing twice. The second.reply
should be replaced with.followUp
or.editReply
depending on what you'd like to do.Also, please use GitHub Discussions or the discord server.