-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subcommands and more #52
Comments
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 |
Isn't that just like aliases? |
No, I think they meant this for example:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: