|
tgstation-server 6.19.2
The /tg/station 13 server suite
|
kek. More...


Public Member Functions | |||||||
| ValueTask< MessageContent > | Invoke (string arguments, ChatUser user, CancellationToken cancellationToken) | ||||||
Invoke the ICommand.
| |||||||
Properties | |
| string | Name [get] |
| The text to invoke the command. May not be "?" or "help" (case-insensitive). | |
| string | HelpText [get] |
| The help text to display when queires are made about the command. | |
| bool | AdminOnly [get] |
| If the command should only be available to ChatUsers who's ChatUser.Channel has ChannelRepresentation.IsAdminChannel set. | |
Properties inherited from Tgstation.Server.Host.Components.Chat.Commands.ICommand | |
Static Private Attributes | |
| const string | Kek = "kek" |
| kek. | |
kek.
Definition at line 11 of file KekCommand.cs.
| ValueTask< MessageContent > Tgstation.Server.Host.Components.Chat.Commands.KekCommand.Invoke | ( | string | arguments, |
| ChatUser | user, | ||
| CancellationToken | cancellationToken | ||
| ) |
Invoke the ICommand.
| arguments | The text after Name with leading whitespace trimmed. |
| user | The ChatUser who invoked the command. |
| cancellationToken | The CancellationToken for the operation. |
Implements Tgstation.Server.Host.Components.Chat.Commands.ICommand.
References Tgstation.Server.Host.Components.Chat.Commands.KekCommand.Kek.
|
staticprivate |
kek.
Definition at line 16 of file KekCommand.cs.
Referenced by Tgstation.Server.Host.Components.Chat.Commands.KekCommand.Invoke().
|
get |
If the command should only be available to ChatUsers who's ChatUser.Channel has ChannelRepresentation.IsAdminChannel set.
Implements Tgstation.Server.Host.Components.Chat.Commands.ICommand.
Definition at line 25 of file KekCommand.cs.
|
get |
The help text to display when queires are made about the command.
Implements Tgstation.Server.Host.Components.Chat.Commands.ICommand.
Definition at line 22 of file KekCommand.cs.
|
get |
The text to invoke the command. May not be "?" or "help" (case-insensitive).
Implements Tgstation.Server.Host.Components.Chat.Commands.ICommand.
Definition at line 19 of file KekCommand.cs.