diff --git a/minato_namikaze/bot_files/lib/functions/moderation.py b/minato_namikaze/bot_files/lib/functions/moderation.py index 7418ac74..c0664885 100644 --- a/minato_namikaze/bot_files/lib/functions/moderation.py +++ b/minato_namikaze/bot_files/lib/functions/moderation.py @@ -16,10 +16,10 @@ def check_if_warning_system_setup(ctx): # checks support def check_if_support_is_setup(ctx): - if discord.utils.get(ctx.guild.text_channels, topic=SetupVars.support.value): - support_channel = True - else: - support_channel = False + support_channel = bool( + discord.utils.get(ctx.guild.text_channels, + topic=SetupVars.support.value) + ) return support_channel