Bot not responding to slash commands

I've just created my bot following the v14 guide. Basically everything is copy pasted from the guide except my bot's token, ID and guild ID. The bot connects fine without errors, but when typing /ping my bot doesn't come up as an option, and doesn't respond to the command. I am not sure where to start looking for the error, I tried redoing it's permissions and reinviting it, but still having the issue. The bot has admin permissions on my server. Should I share a zip of the bot (minus the token of course)?
5 Replies
d.js toolkit
d.js toolkit11mo ago
- 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!
mars
mars11mo ago
enderbot@1.0.0 C:\Users\lydia\Desktop\enderbot +-- discord.js@14.11.0 `-- eslint@8.45.0 node v19.2.0
mars
mars11mo ago
file structure:
mars
mars11mo ago
Pastebin
Maneheks's Pastebin - Pastebin.com
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.
mars
mars11mo ago
oh my gosh that was it! thank you, i completely missed that in the guide