SparkCommand implements BaseCommand
The event class. Use this class to create new commands in your bot.
new SparkCommand(options)
Parameter | Type | Optional | Description |
---|---|---|---|
options | Command | ❌ | - |
Properties
public description: string
The description of the command. Will default to
public name: string
The name of the command. Will default to the file's name without the shortcut. Example:
public type: CommandType
The type of the command. You can use the