Open daanbreur opened 3 years ago
This may be a better idea to put in a pull request rather than an issue.
Well i have no code so i cant make a pr.... and i have no idea on how to implement this.
May I ask what you would like the subCommands to do?
Just so you can have all subcommands in seperate files. Like /command subcommand args
Isn't that just like aliases?
No, I think they meant this for example:
/filters clear
/filters 8d off
/filters nightcore on
It may be a good idea to add subcommands to the command/commandhandler. and stuff like AdminOnly / GuildOnly.
the BaseCommand.ts class could be something like this:
this is just an example and i couldnt get it working. Someone more experianced then me should be able to figure it out quite easily i think.