From 8d42f3b1e37f369970268fd45c32829db32486a2 Mon Sep 17 00:00:00 2001 From: barelyprofessional <150058423+barelyprofessional@users.noreply.github.com> Date: Mon, 17 Feb 2025 20:29:51 +0800 Subject: [PATCH] Delete command is now for T&H --- KfChatDotNetBot/Commands/AdminCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KfChatDotNetBot/Commands/AdminCommands.cs b/KfChatDotNetBot/Commands/AdminCommands.cs index 03aea2a..d5245e5 100644 --- a/KfChatDotNetBot/Commands/AdminCommands.cs +++ b/KfChatDotNetBot/Commands/AdminCommands.cs @@ -233,7 +233,7 @@ public class DeleteMessagesCommand : ICommand ]; public string? HelpText => "Delete the most recent x number of messages"; - public UserRight RequiredRight => UserRight.Admin; + public UserRight RequiredRight => UserRight.TrueAndHonest; public TimeSpan Timeout => TimeSpan.FromSeconds(10); public async Task RunCommand(ChatBot botInstance, MessageModel message, UserDbModel user, GroupCollection arguments,