diff options
author | 2022-04-28 11:44:50 +0100 | |
---|---|---|
committer | 2022-04-28 11:44:50 +0100 | |
commit | b54d12b44c60969e75bbd945ef320c6fea764fe0 (patch) | |
tree | f1b9fdb290f470e4079c5ac1acf4d7fe4a6ad34c | |
parent | Merge pull request #2151 from python-discord/bump-bot-base (diff) | |
parent | Use 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.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 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) |