From a6a00459ce02fce881d1ebbd2fc342a52029cfcc Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Wed, 4 Sep 2024 01:01:10 +0800 Subject: [PATCH] Added !gmkasino --- KfChatDotNetBot/Commands/MemeCommands.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/KfChatDotNetBot/Commands/MemeCommands.cs b/KfChatDotNetBot/Commands/MemeCommands.cs index c55642d..fe2ce96 100644 --- a/KfChatDotNetBot/Commands/MemeCommands.cs +++ b/KfChatDotNetBot/Commands/MemeCommands.cs @@ -54,4 +54,17 @@ public class SentCommand : ICommand // ReSharper disable once StringLiteralTypo botInstance.SendChatMessage("[img]https://i.ibb.co/GHq7hb1/4373-g-N5-HEH2-Hkc.png[/img]", true); } +} + +public class GmKasinoCommand : ICommand +{ + public List Patterns => [new Regex("^gmkasino")]; + public string? HelpText => "Good Morning Kasino"; + public UserRight RequiredRight => UserRight.Guest; + public TimeSpan Timeout => TimeSpan.FromSeconds(10); + public async Task RunCommand(ChatBot botInstance, MessageModel message, UserDbModel user, GroupCollection arguments, CancellationToken ctx) + { + // ReSharper disable once StringLiteralTypo + botInstance.SendChatMessage("[img]https://i.postimg.cc/QMzBRmH7/hiiiii.gif[/img]", true); + } } \ No newline at end of file