New slash commands not registering
Two of my slash commands (new ones, created after the last deployment) are not being registered. I checked that the array I use for the deployment does include them, yet they are still not being registered.
Example code of one of the slash command files
Code for the deployment:
7 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.
- Issue solved? Press the button!Yes, and I do have administrator permissions in it
I don't know much about the rest api but you could try guild.commands.set()
Forgot to update you, around an hour ago it fixed itself
I changed nothing in the code
Oh ok sweet
Not sure what happened there
Must've just taken awhile to load