fix(ranks): Repair setting response tree.
This commit is contained in:
@@ -195,7 +195,7 @@ class LionBot(Bot):
|
||||
extra={'action': 'BotError', 'with_ctx': True}
|
||||
)
|
||||
except discord.HTTPException:
|
||||
logger.warning(
|
||||
logger.error(
|
||||
f"Caught an unhandled 'HTTPException' while executing: {cmd_str}",
|
||||
exc_info=True,
|
||||
extra={'action': 'BotError', 'with_ctx': True}
|
||||
|
||||
@@ -757,7 +757,7 @@ class RankCog(LionCog):
|
||||
lines = []
|
||||
if rank_type_setting in modified:
|
||||
lines.append(rank_type_setting.update_message)
|
||||
if dm_ranks or rank_channel:
|
||||
if (dm_ranks is not None) or (rank_channel is not None):
|
||||
if dm_ranks_setting.value:
|
||||
if rank_channel_setting.value:
|
||||
notif_string = t(_p(
|
||||
|
||||
Reference in New Issue
Block a user