misc(moderation): immune roles and blacklist types will no longer show up in moderationset list

This commit is contained in:
Seaswimmer 2023-12-15 10:36:19 -05:00
parent af9db8cc58
commit 7d4277f454
Signed by untrusted user: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -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])