11 lines
329 B
C#
11 lines
329 B
C#
|
using Discord.WebSocket;
|
|||
|
|
|||
|
namespace MinecraftDiscordBot;
|
|||
|
|
|||
|
public interface ICommandHandler {
|
|||
|
Task HandleCommand(SocketUserMessage message, string[] parameters, CancellationToken ct);
|
|||
|
}
|
|||
|
|
|||
|
public interface ICommandHandler<T> {
|
|||
|
Task<T> HandleCommand(SocketUserMessage message, string[] parameters, CancellationToken ct);
|
|||
|
}
|