From 1c624ee8ab6c70073f4e7f660a43ada23923db59 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 18 Dec 2023 18:34:53 -0500 Subject: [PATCH] fix(moderation): fixed lookuperror --- moderation/moderation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index c3a3cc9..acac256 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -1044,8 +1044,8 @@ class Moderation(commands.Cog): await config.user(ctx.author).auto_evidenceformat.set(enabled) await ctx.send(f"Auto evidenceformat setting set to {enabled}") - @moderationset_autoevidence.command(name='autoevidence') - async def moderationset_autoevidence(self, ctx: commands.Context, enabled: bool): + @moderationset_autoevidence.command(name='guild') + async def moderationset_autoevidence_guild(self, ctx: commands.Context, enabled: bool): """Toggle if the evidenceformat codeblock should be sent automatically.""" await config.guild(ctx.guild).auto_evidenceformat.set(enabled) await ctx.send(f"Auto evidenceformat setting set to {enabled}")