aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joseph Banks <[email protected]>2020-04-11 22:28:50 +0100
committerGravatar Joseph Banks <[email protected]>2020-04-11 22:28:50 +0100
commit4baeb3e6b9add39b09636266c0f641656966443b (patch)
treeb0293dd9a57233b5a167cec7c2da96547efe66fc
parentUse in for membership check as opposed to .get() (diff)
parentUpdate bot/cogs/stats.py (diff)
Merge master
-rw-r--r--bot/cogs/stats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/stats.py b/bot/cogs/stats.py
index 772ae2c97..c15d0eb1b 100644
--- a/bot/cogs/stats.py
+++ b/bot/cogs/stats.py
@@ -36,7 +36,7 @@ class Stats(Cog):
if CHANNEL_NAME_OVERRIDES.get(message.channel.id):
reformatted_name = CHANNEL_NAME_OVERRIDES.get(message.channel.id)
- reformatted_name = "".join([char for char in reformatted_name if char in ALLOWED_CHARS])
+ reformatted_name = "".join(char for char in reformatted_name if char in ALLOWED_CHARS)
stat_name = f"channels.{reformatted_name}"
self.bot.stats.incr(stat_name)