Interface ICommandBuilder
Commands are text-based commands that can be invoked by users in a chat by sending a message, typically starting with a prefix.
public interface ICommandBuilder
Properties
Aliases
Aliases of the command.
IEnumerable<string> Aliases { get; }
Property Value
Priority
Priority of the command. Commands are matched in order of descending priority, and the first command that matches the input is executed. Higher values indicate higher priority.
int Priority { get; set; }
Property Value
Methods
WithPriority(int)
Priority of the command. Commands are matched in order of descending priority, and the first command that matches the input is executed. Higher values indicate higher priority.
ICommandBuilder WithPriority(int priority)
Parameters
priorityint