aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Numerlor <[email protected]>2021-01-11 02:13:58 +0100
committerGravatar Numerlor <[email protected]>2021-01-11 02:21:32 +0100
commit5c97efab1bf3d15911a343687b50af92b57bc036 (patch)
tree877014886f221c848fbadd23450cf7e3eeeb5904
parentEnsure footer fits into message (diff)
Don't convert package names into lowercase
The converter used to set them already ensures this for us, making the call redundant
-rw-r--r--bot/exts/info/doc/_cog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/info/doc/_cog.py b/bot/exts/info/doc/_cog.py
index b8c1a10d4..0e7eff9d9 100644
--- a/bot/exts/info/doc/_cog.py
+++ b/bot/exts/info/doc/_cog.py
@@ -250,7 +250,7 @@ class DocCog(commands.Cog):
if symbol_info is None:
log.debug("Symbol does not exist.")
return None
- self.bot.stats.incr(f"doc_fetches.{symbol_info.package.lower()}")
+ self.bot.stats.incr(f"doc_fetches.{symbol_info.package}")
markdown = await doc_cache.get(symbol_info)
if markdown is None: