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 toolkit17mo 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
marsOP17mo ago
[email protected] C:\Users\lydia\Desktop\enderbot +-- [email protected] `-- [email protected] node v19.2.0
mars
marsOP17mo ago
file structure:
mars
marsOP17mo 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
marsOP17mo ago
oh my gosh that was it! thank you, i completely missed that in the guide
Want results from more Discord servers?
Add your server