Command
This is the full specification of the Command Class
Setters
Name | Type | Description |
| string | The name of the command, like it should display in Help |
| string | The description of the command like it should display in Help |
| string[] | An array of strings that can be used to invoke the command, no spaces allowed |
| string | A string that will be appended to the invokes in the help command, explaining how to use the command |
| string[] | An array of Discord permission strings that may execute the command |
| string | The name of the category to add the command to |
| (message: Message, options: any) => Promise<void> | The async function to execute when the command is called |
| boolean | Whether to omit the command from help |
Getters
Name | Type | Description |
| The command object that will be used later |
Last updated