From 5c97efab1bf3d15911a343687b50af92b57bc036 Mon Sep 17 00:00:00 2001 From: Numerlor <25886452+Numerlor@users.noreply.github.com> Date: Mon, 11 Jan 2021 02:13:58 +0100 Subject: Don't convert package names into lowercase The converter used to set them already ensures this for us, making the call redundant --- bot/exts/info/doc/_cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3