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?
No description
10 Replies
d.js toolkit
d.js toolkit11mo 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
treble/luna
treble/luna11mo ago
those are the command / event handling parts deploying your commands is separate of that
Don Cezar
Don CezarOP11mo ago
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 doing
treble/luna
treble/luna11mo ago
you need basic js knowledge to make a bot, #rules 3 #resources has good guides
Don Cezar
Don CezarOP11mo ago
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
treble/luna
treble/luna11mo ago
the guide should explain everything. Working with the filesystem to import your command is basic js
Don Cezar
Don CezarOP11mo ago
I went through the guide, did everything up to this point, however there's no success message, there's no working command.
No description
Don Cezar
Don CezarOP11mo ago
No description
treble/luna
treble/luna11mo ago
you're running your index file not the file that deploys your commands
Don Cezar
Don CezarOP11mo ago
oo I must have skipped over that part, thank you
Want results from more Discord servers?
Add your server