slash cmd doesn't work
hey! i have recently created a bot, but the ping slash cmd don't work, can you help me?
15 Replies
β’ 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.To help you we need more information:
- What are you trying to do?
- What is your code?
- What errors and debug logs do you have?
okay so, i've actually tried to run the bot but he doesn't show up any error so here the code
well, your callback function will never be called since you never reference it, and does your event fire at all
and did you deploy your commands
so how can i fix it?
did you deploy your commands
yep
and does your event fire at all
so actually the callback event is useless?
unless you create an event handler, yes
ya i have it actually
but you dont use it
yea probably
i'll check
thx