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?
image.png
image.png
image.png
Imagine a guide... that explores the many possibilities for your discord.js bot.
Was this page helpful?