#Slash commands not detected

19 messages · Page 1 of 1 (latest)

fallow oasis
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

dawn knot
#

what do you mean by 'not detected'

mild summit
#

i looked through this entire repo and you dont have anything for registering slash commands

sick charmBOT
#

guide Creating Your Bot: Registering slash commands
read more

lilac chasm
mild summit
#

can you show the full error?

lilac chasm
mild summit
#

one of your commands is missing a name

lilac chasm
#

I only have one

mild summit
#

looks like your app.ts isn’t saved

lilac chasm
#

it was, i can't let this happen xd

mild summit
lilac chasm
#

shouldn't I use interaction.client.application.commands.create() instead ?

mild summit
#

I wouldn’t recommend it since using REST allows you to redeploy commands regardless if your bot is online or not

#

can be done anytime

#

everything looks fine otherwise. I’m not too sure what the issue could be

#

Make sure everything is saved just incase