Sure! The commandData is the return of a new SlashCommandBuilder() from @discordjs/builders and the SubliCommand is an extended class that is responsible for processing the command and triggering the interaction reply method.
You can check the implementation I'm using by tracking this test file and this command file:
Very helpful, thank you!
For the last step, pulling it all together after building the command parser, can you share what you are passing in commandData and SubliCommand?
Thanks!
Sure! The commandData is the return of a
new SlashCommandBuilder()
from@discordjs/builders
and the SubliCommand is an extended class that is responsible for processing the command and triggering the interaction reply method.You can check the implementation I'm using by tracking this test file and this command file:
github.com/Markkop/corvo-astral/bl...
github.com/Markkop/corvo-astral/bl...