slash commands not showing up
i have a file
register-commands.js
where i register slash commands but it is not appearing in discord client
output :
registering slash commands
registered slash commands19 Replies
- 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!did you reload your client? did you check the guild -> integrations tab?
where can i find the guild -> integration tab
in your guild settings
oh alright
yes my bot is showing up and it has every permission checked
does the command show up
nope
I guess the issue here is that the object which contains the body is not inside the put method
the bot is replying to my messages when i run
index.js
the main file but the bot doesnt turn on when i run jesus how did we miss that
that is normal
the deploy script just registers your commands
ahh my bad
It doesnt need to happen every time your bot starts, thats why its separate
so if i just have to run register commands once?
Whenever you edit your command data yes
it worked thanks!!
is there any new method to do this cause i followed an old tutorial
thanks 🫡