Slash commands are not registered
I cleared commands with [], the commands cleared successfully. I re-register commands, commands that were previously registered appear, but my new file still does not want to register
deploy-commands.js:
hello.js:
10 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.Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
The "hello" command is not displayed in the console, but all the rest commands are displayed without problems
I can't figure out what's the problem
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Yes, the rest of my* commands get registered but this doesn't
Log: https://pastebin.com/fzcS7gX9
Pastebin
SlashCommandBuilder { options: [], name: 'afk', name_localizatio...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I forgot... Sorry for my inattention, I haven't opened the code for several months and have already forgotten everything...
Thank you!
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View