From 6b3eba73f67e94003e076b1e7eb49cc088b2a48e Mon Sep 17 00:00:00 2001 From: EthanC <16727756+EthanC@users.noreply.github.com> Date: Wed, 20 Nov 2024 01:02:15 -0600 Subject: [PATCH] Change to Manage Server permission requirement for Delete Message command --- extensions/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/admin.py b/extensions/admin.py index 404a50c..e3d51de 100644 --- a/extensions/admin.py +++ b/extensions/admin.py @@ -294,7 +294,7 @@ async def CommandEdit( @plugin.include -@arc.with_hook(arc.owner_only) +@arc.with_hook(arc.has_permissions(Permissions.MANAGE_GUILD)) @arc.with_hook(HookLog) @arc.message_command( "Delete Message", is_dm_enabled=True, autodefer=AutodeferMode.EPHEMERAL