mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 12:32:03 -04:00
aaand this one, I'm an idiot
This commit is contained in:
@@ -11,9 +11,9 @@ public class CacheClearCommand : ICommand
|
|||||||
new Regex("^cache clear")
|
new Regex("^cache clear")
|
||||||
];
|
];
|
||||||
|
|
||||||
public string HelpText => "Clear the cache";
|
public string? HelpText => null;
|
||||||
public bool HideFromHelp => true;
|
|
||||||
public UserRight RequiredRight => UserRight.Admin;
|
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)
|
public async Task RunCommand(ChatBot botInstance, MessageModel message, UserDbModel user, GroupCollection arguments, CancellationToken ctx)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user