diff options
| author | 2020-04-11 22:25:44 +0100 | |
|---|---|---|
| committer | 2020-04-11 22:25:44 +0100 | |
| commit | ea9db39715199ea05eafe124dbf74231d1e7e3d4 (patch) | |
| tree | 00a5b48f7309ba8f275068569370cefe92141adb | |
| parent | Additional statistics (diff) | |
Update bot/cogs/stats.py
Co-Authored-By: Mark <[email protected]>
| -rw-r--r-- | bot/cogs/stats.py | 2 |
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) |