discord bot template

hi is there any chance anyone can give me a template for a slash command bot please because all the ones that i have tried dont seem to work
14 Replies
d.js toolkit
d.js toolkit13mo 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 staff
MrAxeman6
MrAxeman6OP13mo ago
i used that one it starts the bot but the commands dont work but i get no errors
Danial
Danial13mo ago
What do you mean by don't work, do they show on Discord?
MrAxeman6
MrAxeman6OP13mo ago
no they do not show on discord
Danial
Danial13mo ago
Did you run the deploy script?
MrAxeman6
MrAxeman6OP13mo ago
yes
Danial
Danial13mo ago
And then what happens?
MrAxeman6
MrAxeman6OP13mo ago
said succesfully registired but then still didnt show up
Danial
Danial13mo ago
What exactly does it log, and which template are you using?
MrAxeman6
MrAxeman6OP13mo ago
i am using the js template and when i run the deploy command it says "
[email protected] deploy node --require dotenv/config src/util/deploy.js
Successfully registered 1 commands." and the start command gives"
[email protected] start node --require dotenv/config src/index.js
Ready! Logged in as AxeBot#6472
Danial
Danial13mo ago
Have you tried reloading your Discord
MrAxeman6
MrAxeman6OP13mo ago
just tried it and that work thx
Danial
Danial13mo ago
Of course
Want results from more Discord servers?
Add your server