From 7d4277f454c85bffa9ee39086a0d89e734d47028 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 15 Dec 2023 10:36:19 -0500 Subject: [PATCH] misc(moderation): immune roles and blacklist types will no longer show up in moderationset list --- moderation/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index 9f69434..1e55185 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -1338,7 +1338,7 @@ class Moderation(commands.Cog): guild_settings_string = "" for setting in guild_settings: - if 'mysql' in setting: + if 'mysql' in setting or 'roles' in setting: continue if setting == 'log_channel': channel = ctx.guild.get_channel(guild_settings[setting])