diff --git a/src/meta/LionBot.py b/src/meta/LionBot.py index f6bc2a38..9fb9e5e5 100644 --- a/src/meta/LionBot.py +++ b/src/meta/LionBot.py @@ -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} diff --git a/src/modules/ranks/cog.py b/src/modules/ranks/cog.py index 74ef64b7..16b4bfab 100644 --- a/src/modules/ranks/cog.py +++ b/src/modules/ranks/cog.py @@ -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(