diff options
author | 2023-03-29 22:14:39 +0100 | |
---|---|---|
committer | 2023-03-29 22:14:39 +0100 | |
commit | 16d3ebe9227fc8c3e8ff9f41dbc8fafaea38ab6a (patch) | |
tree | c045dc6452879ba9731481e3e8cbe9410de8edff | |
parent | Bump taskipy from 1.10.3 to 1.10.4 (#1237) (diff) | |
parent | Merge branch 'main' into mudkipdev/main (diff) |
Merge pull request #1240 from mudkipdev/main
Replace all instances of "with ctx.typing()" with "async with ctx.typing()"
-rw-r--r-- | bot/exts/fun/snakes/_snakes_cog.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/exts/fun/snakes/_snakes_cog.py b/bot/exts/fun/snakes/_snakes_cog.py index 96718200..d0542c23 100644 --- a/bot/exts/fun/snakes/_snakes_cog.py +++ b/bot/exts/fun/snakes/_snakes_cog.py @@ -598,7 +598,7 @@ class Snakes(Cog): Written by Momo and kel. Modified by juan and lemon. """ - with ctx.typing(): + async with ctx.typing(): # Generate random snake attributes width = random.randint(6, 10) @@ -637,7 +637,7 @@ class Snakes(Cog): Created by Ava and eivl. """ - with ctx.typing(): + async with ctx.typing(): if name is None: name = await Snake.random() @@ -693,7 +693,7 @@ class Snakes(Cog): Made by Ava and eivl. Modified by lemon. """ - with ctx.typing(): + async with ctx.typing(): image = None @@ -1047,7 +1047,7 @@ class Snakes(Cog): Written by Momo and kel. Modified by lemon. """ - with ctx.typing(): + async with ctx.typing(): embed = Embed() user = ctx.author |