Slash command options
Why my slash command option dont have getSubcommand or getSubcommandGroup, etc...

8 Replies
• 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.

ChatInputCommandInteraction
is for slash commands
CommandInteraction
is for any type of commandsok lemme try it
I change class SlashCommandBuilder in my index.ts to this:
and nothing change

Discord.ChatInputCommandInteraction | Discord.MessageContextMenuCommandInteraction | Discord.UserContextMenuCommandInteraction
this still represents not only slash command interaction. Context menu interactions doesn't have string, number, etc options.:c
I got it, thanks alot
