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: