Command handler for discord.js v14 subcommands and subcommand groups
npm install djs-slash-handlerbash
npm install djs-slash-handler
`
Working
Below is an example of how command handler interprets the file structure. The folder/file names are the names of the subcommands/subcommand groups.
`
commands
|
|__ category1
|
|__ command1.js
|
|__ command2.js
|
|__ category2
|
|__ command3
|__ subcommand1.js
|__ subcommand2.js
|
|__ command4
|__ subcommandgroup
|__ subcommand1.js
|__ subcommand2.js
|__ subcommand1.js
|__ subcommand2.js
``