-
Trying to upgrade to DIscord 14 from 12, where I used to have commands that were invoked with ! - now trying slash commands. So I have this code:
But for the life of me, I can't get the bot to react to the interaction reply! I have to also do this for the poll command which posts an embed and adds emojis to it, but I get the same error:
./commands/scores.js:51 Any help appreciated, not sure where I'm going wrong! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved my own problem for those wondering!!! You need to include { fetchReply: true } as an option in the reply function So the code would be
This works! |
Beta Was this translation helpful? Give feedback.
Solved my own problem for those wondering!!!
You need to include { fetchReply: true } as an option in the reply function
So the code would be
This works!