From a717224ee46efa57911a07062518fc63a54afb9d Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Fri, 23 Aug 2024 12:32:01 +0800 Subject: [PATCH] aaand this one, I'm an idiot --- KfChatDotNetBot/Commands/CacheCommands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/KfChatDotNetBot/Commands/CacheCommands.cs b/KfChatDotNetBot/Commands/CacheCommands.cs index 562f46d..a6be27d 100644 --- a/KfChatDotNetBot/Commands/CacheCommands.cs +++ b/KfChatDotNetBot/Commands/CacheCommands.cs @@ -11,9 +11,9 @@ public class CacheClearCommand : ICommand new Regex("^cache clear") ]; - public string HelpText => "Clear the cache"; - public bool HideFromHelp => true; + public string? HelpText => null; public UserRight RequiredRight => UserRight.Admin; + public TimeSpan Timeout => TimeSpan.FromSeconds(10); public async Task RunCommand(ChatBot botInstance, MessageModel message, UserDbModel user, GroupCollection arguments, CancellationToken ctx) {