Slash comands not executing

I registered the commands but when i "call" them, the execute function does not work.
8 Replies
d.js toolkit
d.js toolkit12mo ago
- 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 OP
FlaviaN
FlaviaNOP12mo ago
index.js commands/ping.js
treble/luna
treble/luna12mo ago
and where is your interactionCreate event
FlaviaN
FlaviaNOP12mo ago
i mean the function execute should execute without one
treble/luna
treble/luna12mo ago
...no how do you expect it to work if you dont have the event
FlaviaN
FlaviaNOP12mo ago
ok uhh, what should i put in interactionCreate event??
d.js docs
d.js docs12mo ago
guide Creating Your Bot: Command handling read more
FlaviaN
FlaviaNOP12mo ago
@polarwolvinny ❄ 🌈 THANKS!
Want results from more Discord servers?
Add your server