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) {