forked from cswimr/SeaCogs
fix(aurora): fixed NoneType typerror in auroraset list
This commit is contained in:
parent
3ac0459532
commit
9736918382
1 changed files with 1 additions and 1 deletions
|
@ -1017,7 +1017,7 @@ class Aurora(commands.Cog):
|
|||
continue
|
||||
if setting == 'log_channel':
|
||||
channel = ctx.guild.get_channel(guild_settings[setting])
|
||||
guild_settings_string += f"**{setting}**: {channel.mention}\n"
|
||||
guild_settings_string += f"**{setting}**: {channel.mention}\n" if channel else f"**{setting}**: {guild_settings[setting]}\n"
|
||||
else:
|
||||
guild_settings_string += f"**{setting}**: {guild_settings[setting]}\n"
|
||||
|
||||
|
|
Loading…
Reference in a new issue