tgstation-server  4.4.0
The /tg/station 13 server suite
KekCommand.cs
Go to the documentation of this file.
1 using System.Threading;
2 using System.Threading.Tasks;
3 
4 namespace Tgstation.Server.Host.Components.Chat.Commands
5 {
9  sealed class KekCommand : ICommand
10  {
14  const string Kek = "kek";
15 
17  public string Name => Kek;
18 
20  public string HelpText => Kek;
21 
23  public bool AdminOnly => false;
24 
26  public Task<string> Invoke(string arguments, ChatUser user, CancellationToken cancellationToken) => Task.FromResult(Kek);
27  }
28 }
Represents a tgs_chat_user datum
Definition: ChatUser.cs:10
Represents a command that can be invoked by talking to chat bots
Definition: ICommand.cs:9