Closed open-antux closed 11 months ago
Can you send the error.
The same thing happens to me, the first time you run the discord command it sends you that error but from there it works correctly
I also tried to create and use slash commands without using the WOKcommands handler, and I noticed that the error persist but it start to work again when the bot goes offline and return online.
@Wolletje01 my bot doesn't give any error, is discord that gives me Invalid application interaction command
error.
That's an offtopic question: Where can I find some cool docs about interactions?
Thanks to everyone
The same thing happens to me, the first time you run the discord command it sends you that error but from there it works correctly
Mine had the same issue, solved it by adding an if(interaction)
statement before the command.
I have several slash commands, but often when I run my discord bot and run one of the commands, discord gives me an Invalid application interaction command and the only thing that I can do is stop the bot, wait a while and rerun the bot. This is an example of command:
The rest of the commands are very similar to this one. How can I solve this? If could help, this is my index.js