forked from cswimr/SeaCogs
misc(moderation): immune roles and blacklist types will no longer show up in moderationset list
This commit is contained in:
parent
af9db8cc58
commit
7d4277f454
1 changed files with 1 additions and 1 deletions
|
@ -1338,7 +1338,7 @@ class Moderation(commands.Cog):
|
||||||
|
|
||||||
guild_settings_string = ""
|
guild_settings_string = ""
|
||||||
for setting in guild_settings:
|
for setting in guild_settings:
|
||||||
if 'mysql' in setting:
|
if 'mysql' in setting or 'roles' in setting:
|
||||||
continue
|
continue
|
||||||
if setting == 'log_channel':
|
if setting == 'log_channel':
|
||||||
channel = ctx.guild.get_channel(guild_settings[setting])
|
channel = ctx.guild.get_channel(guild_settings[setting])
|
||||||
|
|
Loading…
Reference in a new issue