mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Renamed the bot from KickBot -> ChatBot and removed the reference to Kick in the project name
This commit is contained in:
15
KfChatDotNetBot/Commands/ICommand.cs
Normal file
15
KfChatDotNetBot/Commands/ICommand.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user