tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ICustomCommandHandler.cs
Go to the documentation of this file.
1using System.Threading;
2using System.Threading.Tasks;
3
5
7{
11 public interface ICustomCommandHandler
12 {
21 ValueTask<MessageContent> HandleChatCommand(string commandName, string arguments, ChatUser sender, CancellationToken cancellationToken);
22 }
23}
Represents a tgs_chat_user datum.
Definition ChatUser.cs:12
Handles Commands.ICommands that map to those defined in a IChatTrackingContext.
ValueTask< MessageContent > HandleChatCommand(string commandName, string arguments, ChatUser sender, CancellationToken cancellationToken)
Handle a chat command.