diff options
author | 2022-04-28 08:11:49 +0100 | |
---|---|---|
committer | 2022-04-28 08:11:49 +0100 | |
commit | 12b1f82c1a2757466469ffe236209d18feb4bc5e (patch) | |
tree | f1b9fdb290f470e4079c5ac1acf4d7fe4a6ad34c | |
parent | Merge pull request #2151 from python-discord/bump-bot-base (diff) |
Use async with Messageable.typing() everywhere
Closes BOT-33Z Closes #2154
With the latest version of discord.py support for the with Messageable.typingn() was droped, in favour of only using async with.
-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) |