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
- 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 staffi used that one it starts the bot but the commands dont work
but i get no errors
What do you mean by don't work, do they show on Discord?
no
they do not show on discord
Did you run the deploy script?
yes
And then what happens?
said succesfully registired but then still didnt show up
What exactly does it log, and which template are you using?
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.jsSuccessfully registered 1 commands." and the start command gives"
[email protected] start node --require dotenv/config src/index.jsReady! Logged in as AxeBot#6472
Have you tried reloading your Discord
just tried it and that work thx
Of course