2using System.Threading.Tasks;
35 ValueTask<MessageContent>
Invoke(
string arguments,
ChatUser user, CancellationToken cancellationToken);
Represents a tgs_chat_user datum.
Represents a command that can be invoked by talking to chat bots.
bool AdminOnly
If the command should only be available to ChatUsers who's ChatUser.Channel has ChannelRepresentation...
ValueTask< MessageContent > Invoke(string arguments, ChatUser user, CancellationToken cancellationToken)
Invoke the ICommand.
string Name
The text to invoke the command. May not be "?" or "help" (case-insensitive).
string HelpText
The help text to display when queires are made about the command.