From 1d21913afa07623df5336eb85dffe0f52c03a82b Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Fri, 23 Aug 2024 12:31:53 +0800 Subject: [PATCH] Forgot to include these files in the previous commit --- KfChatDotNetBot/Commands/HowlggCommands.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/KfChatDotNetBot/Commands/HowlggCommands.cs b/KfChatDotNetBot/Commands/HowlggCommands.cs index c40ff5c..539b01a 100644 --- a/KfChatDotNetBot/Commands/HowlggCommands.cs +++ b/KfChatDotNetBot/Commands/HowlggCommands.cs @@ -12,9 +12,9 @@ public class HowlggStatsCommand : ICommand public List Patterns => [ new Regex(@"^howl stats (?\d+)$") ]; - public string HelpText => "Get betting statistics in the given window"; - public bool HideFromHelp => false; + public string? HelpText => "Get betting statistics in the given window"; 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) { var window = Convert.ToInt32(arguments["window"].Value); @@ -39,9 +39,9 @@ public class HowlggRecentBetCommand : ICommand public List Patterns => [ new Regex(@"^howl recent$") ]; - public string HelpText => "Get the most recent 3 bets"; - public bool HideFromHelp => false; + public string? HelpText => "Get the most recent 3 bets"; 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) { var settings = await Helpers.GetMultipleValues([