type property

CommandType? type
final

The type of ChatCommands that are children of this entity.

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.

Implementation

final CommandType? type;