Creating-your-bot guide is quite confusing
I'm at the commands handling / registering slash commands part of the guide. In the guide, at registering slash commands it doesn't do any changes to index.js, but on github the files are different?
10 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 staffthose are the command / event handling parts
deploying your commands is separate of that
Yeah I just realized I was looking in the wrong folder on Github, I still can't really get the bot to recognize commands though. I basically have exactly this: https://github.com/discordjs/guide/tree/main/code-samples/creating-your-bot/event-handling + the
deploy.commands
file
I don't really have javascript experience at all, I just want to get the base bot up and running with slash commands so I can start messing with stuff, the only way I learn is by doingyou need basic js knowledge to make a bot, #rules 3
#resources has good guides
I know that's the normal way to do it, but I don't work that way. If you could lend a hand just to get these slash commands recognized I'd be grateful
the guide should explain everything. Working with the filesystem to import your command is basic js
I went through the guide, did everything up to this point, however there's no success message, there's no working command.
you're running your index file
not the file that deploys your commands
oo I must have skipped over that part, thank you