diff options
| author | 2021-01-11 02:13:58 +0100 | |
|---|---|---|
| committer | 2021-01-11 02:21:32 +0100 | |
| commit | 5c97efab1bf3d15911a343687b50af92b57bc036 (patch) | |
| tree | 877014886f221c848fbadd23450cf7e3eeeb5904 | |
| parent | Ensure 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.py | 2 |
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: |