aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2022-04-28 11:44:50 +0100
committerGravatar GitHub <[email protected]>2022-04-28 11:44:50 +0100
commitb54d12b44c60969e75bbd945ef320c6fea764fe0 (patch)
treef1b9fdb290f470e4079c5ac1acf4d7fe4a6ad34c
parentMerge pull request #2151 from python-discord/bump-bot-base (diff)
parentUse async with Messageable.typing() everywhere (diff)
Merge pull request #2155 from python-discord/use-async-with-typing
Use async with Messageable.typing() everywhere
-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 079bfc942..dece44063 100644
--- a/bot/exts/info/doc/_cog.py
+++ b/bot/exts/info/doc/_cog.py
@@ -431,7 +431,7 @@ class DocCog(commands.Cog):
async def refresh_command(self, ctx: commands.Context) -> None:
"""Refresh inventories and show the difference."""
old_inventories = set(self.base_urls)
- with ctx.typing():
+ async with ctx.typing():
await self.refresh_inventories()
new_inventories = set(self.base_urls)