aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-04-20 11:21:14 -0700
committerGravatar MarkKoz <[email protected]>2020-04-20 12:05:13 -0700
commit383f5a71e6c941eaa932db7017fb1be27efb0e95 (patch)
tree27f9781c6fe38e30102bea7c0d257650639a4f9c
parentHelpChannels: handle errors when changing cooldown role (diff)
HelpChannels: tidy up log messages
* Remove obsolete log message * Shorten a log message which was the only line in the entire module over 100 characters
-rw-r--r--bot/cogs/help_channels.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py
index c70cb6ffb..875eb5330 100644
--- a/bot/cogs/help_channels.py
+++ b/bot/cogs/help_channels.py
@@ -269,7 +269,7 @@ class HelpChannels(Scheduler, commands.Cog):
log.trace(f"The clean name for `{channel}` is `{name}`")
except ValueError:
# If, for some reason, the channel name does not contain "help-" fall back gracefully
- log.info(f"Can't get clean name as `{channel}` does not follow the `{prefix}` naming convention.")
+ log.info(f"Can't get clean name because `{channel}` isn't prefixed by `{prefix}`.")
name = channel.name
return name
@@ -488,10 +488,6 @@ class HelpChannels(Scheduler, commands.Cog):
topic=AVAILABLE_TOPIC,
)
- log.trace(
- f"Ensuring that all channels in `{self.available_category}` have "
- f"synchronized permissions after moving `{channel}` into it."
- )
self.report_stats()
async def move_to_dormant(self, channel: discord.TextChannel, caller: str) -> None: