Added !gmkasino

This commit is contained in:
barelyprofessional
2024-09-04 01:01:10 +08:00
parent 4cb5c0327a
commit a6a00459ce

View File

@@ -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<Regex> 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);
}
}