From f792d9c149f04bd670bb3c13220305548af96934 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Wed, 4 Oct 2023 12:46:48 -0400 Subject: [PATCH] fix(moderation): changed command decorator for mute command --- moderation/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index ec960bf..953b4e5 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -173,7 +173,7 @@ class Moderation(commands.Cog): logging.debug("MySQL row inserted into %s_moderation!\n%s, %s, %s, %s, %s, %s, %s, %s, 0, NULL", guild_id, moderation_id, timestamp, moderation_type, target_id, author_id, duration, end_timestamp, reason) @commands.hybrid_command(name="mute", aliases=['timeout']) - @commands.mod_or_permissions(discord.Permissions.moderate_members) + @commands.mod() async def mute(self, ctx: commands.Context, target: discord.Member, duration: str, reason: str): """Mute a user.""" try: