aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts
diff options
context:
space:
mode:
authorGravatar Boris Muratov <[email protected]>2023-03-30 12:15:56 +0300
committerGravatar GitHub <[email protected]>2023-03-30 12:15:56 +0300
commit30caf003204c4513a221ceb5fd58cef9747efd8f (patch)
tree41ca863864337c1ebc77e8517aeb406b501a0e21 /bot/exts
parentEnsure page is always random (diff)
parentUpdate base image to new repo org (#1241) (diff)
Merge branch 'main' into fix-1121
Diffstat (limited to 'bot/exts')
-rw-r--r--bot/exts/fun/latex.py1
-rw-r--r--bot/exts/fun/snakes/_snakes_cog.py8
2 files changed, 5 insertions, 4 deletions
diff --git a/bot/exts/fun/latex.py b/bot/exts/fun/latex.py
index 311b4ac2..8af05413 100644
--- a/bot/exts/fun/latex.py
+++ b/bot/exts/fun/latex.py
@@ -37,6 +37,7 @@ PAD = 10
LATEX_ALLOWED_CHANNNELS = WHITELISTED_CHANNELS + (
Channels.data_science_and_ai,
Channels.algos_and_data_structs,
+ Channels.python_help,
)
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