2024-07-16 00:48:55 -04:00
|
|
|
using TwitchChatTTS.Hermes.Socket;
|
2024-03-15 08:27:35 -04:00
|
|
|
using TwitchLib.Client.Models;
|
2024-07-19 12:56:41 -04:00
|
|
|
using static TwitchChatTTS.Chat.Commands.TTSCommands;
|
2024-03-15 08:27:35 -04:00
|
|
|
|
|
|
|
namespace TwitchChatTTS.Chat.Commands
|
|
|
|
{
|
2024-07-19 12:56:41 -04:00
|
|
|
public interface IChatCommand {
|
|
|
|
string Name { get; }
|
|
|
|
void Build(ICommandBuilder builder);
|
|
|
|
}
|
2024-03-15 08:27:35 -04:00
|
|
|
|
2024-07-19 12:56:41 -04:00
|
|
|
public interface IChatPartialCommand {
|
|
|
|
bool AcceptCustomPermission { get; }
|
|
|
|
bool CheckDefaultPermissions(ChatMessage message);
|
|
|
|
Task Execute(IDictionary<string, string> values, ChatMessage message, HermesSocketClient client);
|
2024-03-15 08:27:35 -04:00
|
|
|
}
|
|
|
|
}
|