registering commands

I'm a new developer to the discord.js community and I'm working on a bot named anchor, I'm trying to make a "registerCommands.js" to go in my handlers folder, I've tried everything i can but can get it to register to use the command in discord
5 Replies
d.js toolkit
d.js toolkit4mo 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!
treble/luna
treble/luna4mo ago
show your code
Reaper
ReaperOP4mo ago
i don't have it, it got to where i had to keep deleting it and retrying
treble/luna
treble/luna4mo ago
well we cant help without any code
d.js docs
d.js docs4mo ago
:guide: Creating Your Bot: Registering slash commands read more
Want results from more Discord servers?
Add your server