#i have problems with the slash command

5 messages · Page 1 of 1 (latest)

pliant lichen
#

im new with the bots and been following the guide and everything, been trying to make the slash command, but is not working not even showing the option to use it
here's the code screenshoot

cyan plazaBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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!
real timber
pliant lichen
#

Oh , damn

magic stream
#

Finish the whole guide then try and debug. Slash commands are actually 3 different things.

  1. The data sent to discord (SlashCommandBuilder)
  2. The actual code that runs (the async execute(interaction))
  3. An interaction handler to point the interaction to your specific command file

If any of the 3 aren't working, then your command won't work