aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2023-03-29 22:14:39 +0100
committerGravatar GitHub <[email protected]>2023-03-29 22:14:39 +0100
commit16d3ebe9227fc8c3e8ff9f41dbc8fafaea38ab6a (patch)
treec045dc6452879ba9731481e3e8cbe9410de8edff
parentBump taskipy from 1.10.3 to 1.10.4 (#1237) (diff)
parentMerge 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.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