#[CLOSED ]Error - Application not responding

5 messages · Page 1 of 1 (latest)

calm herald
#

• 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.

velvet summit
#
        if(!message) return message = "There was no message"
``` This returns without responding to the interaction and would cause that error
#

Remove the line and make it required or just remove return so it continues with the placeholder text. Depends on your goal

velvet summit
#

I'd just make it required and remove the line then

#

No reason to handle a missing option when you can just never have that option be missing