diff --git a/moderation/moderation.py b/moderation/moderation.py index b72a17d..c3a3cc9 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -1038,7 +1038,7 @@ class Moderation(commands.Cog): async def moderationset(self, ctx: commands.Context): """Manage moderation commands.""" - @moderationset.command(name='autoevidence') + @moderationset.group(name='autoevidence') async def moderationset_autoevidence(self, ctx: commands.Context, enabled: bool): """Toggle if the evidenceformat codeblock should be sent automatically.""" await config.user(ctx.author).auto_evidenceformat.set(enabled)