2022-01-15 21:26:32 +01:00
|
|
|
|
using Discord.WebSocket;
|
|
|
|
|
|
2022-01-16 22:29:50 +01:00
|
|
|
|
namespace MinecraftDiscordBot.Commands;
|
2022-01-15 21:26:32 +01:00
|
|
|
|
|
|
|
|
|
public interface ICommandHandler {
|
|
|
|
|
Task HandleCommand(SocketUserMessage message, string[] parameters, CancellationToken ct);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public interface ICommandHandler<T> {
|
|
|
|
|
Task<T> HandleCommand(SocketUserMessage message, string[] parameters, CancellationToken ct);
|
|
|
|
|
}
|