type property Null safety
final
The type of this ChatCommand.
The type of a ChatCommand influences how it can be invoked and can be used to make chat commands executable only through Slash Commands, or only through text messages.
You might also be interested in:
- resolvedType, for getting the resolved type of this command.
- ChatCommand.slashOnly, for creating ChatCommands with type CommandType.slashOnly;
- ChatCommand.textOnly, for creating ChatCommands with type CommandType.textOnly.
Implementation
final CommandType type;