-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Using a class to define commands, rather than functions, will likely make it easier for users to define their own commands. Custom commands could extend this class or use decorators to invoke a higher-tier function responsible for adding each command to the CommandRegistry. Further, this organization would more closely resemble that of the slash-create library.
Command objects should hold information including:
- Command name
- Command description
- Command inputs
- Subcommand membership
- Function to be run when the command is invoked (
run()or something similar)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request