Slash commands are not registering

Hey everyone, I am having a problem with slash commands registering in only one guild. I managed to register one slash command by following the guide from https://discordjs.guide/creating-your-bot/command-deployment.html#guild-commands and that works fine. Then I went on to create another slash command called joke.js, but that is not registering at all. I am unsure what seems to be the problem as it should be instant as I am only registering it to one guild. My code is attached and I know that my code works as I print the output to console and it recognizes the command just fine. But it does not show up on discord itself. Any fixes?
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
No description
No description
No description
4 Replies
d.js toolkit
d.js toolkit6mo ago
- 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! - Marked as resolved by OP
navy
navyOP6mo ago
discord js version
No description
navy
navyOP6mo ago
node version
No description
navy
navyOP6mo ago
Nevermind discord took at least 2 hours for the thing to update
Want results from more Discord servers?
Add your server