aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar mudkipdev <[email protected]>2023-03-28 21:04:27 -0600
committerGravatar mudkipdev <[email protected]>2023-03-28 21:04:27 -0600
commit7da33d2f8d6edf08a5f9eca0fbe07d6213244908 (patch)
tree321c15c4f4fb658edf5ed1db4580bdb509c74971
parentMerge pull request #1230 from matiaslagoevia/issue-1207 (diff)
search and replace ctx.typing
-rw-r--r--bot/exts/fun/snakes/_snakes_cog.py8
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