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 toolkit12mo 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
MrAxeman6OP12mo ago
i used that one it starts the bot but the commands dont work but i get no errors
Danial
Danial12mo ago
What do you mean by don't work, do they show on Discord?
MrAxeman6
MrAxeman6OP12mo ago
no they do not show on discord
Danial
Danial12mo ago
Did you run the deploy script?
MrAxeman6
MrAxeman6OP12mo ago
yes
Danial
Danial12mo ago
And then what happens?
MrAxeman6
MrAxeman6OP12mo ago
said succesfully registired but then still didnt show up
Danial
Danial12mo ago
What exactly does it log, and which template are you using?
MrAxeman6
MrAxeman6OP12mo 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
Danial12mo ago
Have you tried reloading your Discord
MrAxeman6
MrAxeman6OP12mo ago
just tried it and that work thx
Danial
Danial12mo ago
Of course
Want results from more Discord servers?
Add your server