mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Added juicesports
This commit is contained in:
@@ -304,4 +304,21 @@ public class AlmanacCommand : ICommand
|
||||
}
|
||||
await botInstance.SendChatMessageAsync($"@{user.KfUsername}, {text.Value}", true);
|
||||
}
|
||||
}
|
||||
|
||||
public class JuiceSportsCommand : ICommand
|
||||
{
|
||||
public List<Regex> Patterns => [
|
||||
new Regex("^juicesports", RegexOptions.IgnoreCase)
|
||||
];
|
||||
public string? HelpText => "Juicesports LFG!";
|
||||
public UserRight RequiredRight => UserRight.Loser;
|
||||
public TimeSpan Timeout => TimeSpan.FromSeconds(10);
|
||||
public RateLimitOptionsModel? RateLimitOptions => null;
|
||||
public async Task RunCommand(ChatBot botInstance, MessageModel message, UserDbModel user, GroupCollection arguments, CancellationToken ctx)
|
||||
{
|
||||
await botInstance.SendChatMessageAsync(":juice: [img]https://i.ddos.lgbt/u/3GJtHq.gif[/img] :juice: [br]⠀⠀⠀⠀⠀⠀⠀" +
|
||||
"[img]https://i.ddos.lgbt/u/KAwWMW.webp[/img][br]⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +
|
||||
"[img]https://i.ddos.lgbt/u/uCuSOw.gif[/img][br]", true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user