diff options
| author | 2023-03-28 21:04:27 -0600 | |
|---|---|---|
| committer | 2023-03-28 21:04:27 -0600 | |
| commit | 7da33d2f8d6edf08a5f9eca0fbe07d6213244908 (patch) | |
| tree | 321c15c4f4fb658edf5ed1db4580bdb509c74971 /bot/exts/fun | |
| parent | Merge pull request #1230 from matiaslagoevia/issue-1207 (diff) | |
search and replace ctx.typing
Diffstat (limited to 'bot/exts/fun')
| -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  |