Files
KfChatDotNet/KfChatDotNetBot/Commands/ICommand.cs

15 lines
437 B
C#

using System.Text.RegularExpressions;
using KfChatDotNetBot.Models.DbModels;
using KfChatDotNetWsClient.Models.Events;
namespace KfChatDotNetBot.Commands;
internal interface ICommand
{
List<Regex> Patterns { get; }
string HelpText { get; }
bool HideFromHelp { get; }
UserRight RequiredRight { get; }
Task RunCommand(ChatBot botInstance, MessageModel message, GroupCollection arguments, CancellationToken ctx);
}