tgstation-server  4.4.0
The /tg/station 13 server suite
ICommand.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  public interface ICommand
10  {
14  string Name { get; }
15 
19  string HelpText { get; }
20 
24  bool AdminOnly { get; }
25 
33  Task<string> Invoke(string arguments, ChatUser user, CancellationToken cancellationToken);
34  }
35 }
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