From 52c074a96ef6b2bf854e6e4542f4502b0f44e561 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Mon, 18 Dec 2023 18:41:39 -0500 Subject: [PATCH] fix(moderation): removed old config command --- moderation/moderation.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index 606ec53..0402029 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -1038,18 +1038,6 @@ class Moderation(commands.Cog): async def moderationset(self, ctx: commands.Context): """Manage moderation commands.""" - @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) - await ctx.send(f"Auto evidenceformat setting set to {enabled}") - - @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}") - @moderationset.command(name='list', aliases=['view', 'show']) async def moderationset_list(self, ctx: commands.Context): """List all moderation settings."""