Less verbose debug

pull/198/merge
bobloy 3 years ago
parent 0064e6e9b5
commit aba9840bcb

@ -507,10 +507,10 @@ class InfoChannel(Cog):
kwargs.keys() & guild_data["enabled_channels"].keys() kwargs.keys() & guild_data["enabled_channels"].keys()
) # Value in kwargs doesn't matter ) # Value in kwargs doesn't matter
log.debug(f"{to_update=}\n"
f"{extra_roles=}")
if to_update or extra_roles: if to_update or extra_roles:
log.debug(f"{to_update=}\n"
f"{extra_roles=}")
category = guild.get_channel(guild_data["category_id"]) category = guild.get_channel(guild_data["category_id"])
if category is None: if category is None:
log.debug('Channel category is missing, updating must be off') log.debug('Channel category is missing, updating must be off')

Loading…
Cancel
Save