From 0064e6e9b5b3fd99bf531ec09a70362577d8ab48 Mon Sep 17 00:00:00 2001 From: bobloy Date: Fri, 3 Sep 2021 15:15:56 -0400 Subject: [PATCH] More verbose debug mode --- infochannel/infochannel.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infochannel/infochannel.py b/infochannel/infochannel.py index 9b98960..42ee890 100644 --- a/infochannel/infochannel.py +++ b/infochannel/infochannel.py @@ -507,11 +507,13 @@ class InfoChannel(Cog): kwargs.keys() & guild_data["enabled_channels"].keys() ) # Value in kwargs doesn't matter - log.debug(f"{to_update=}") + log.debug(f"{to_update=}\n" + f"{extra_roles=}") if to_update or extra_roles: category = guild.get_channel(guild_data["category_id"]) if category is None: + log.debug('Channel category is missing, updating must be off') return # Nothing to update, must be off channel_data = await get_channel_counts(category, guild)