diff options
| author | 2023-03-30 12:15:56 +0300 | |
|---|---|---|
| committer | 2023-03-30 12:15:56 +0300 | |
| commit | 30caf003204c4513a221ceb5fd58cef9747efd8f (patch) | |
| tree | 41ca863864337c1ebc77e8517aeb406b501a0e21 /bot/exts | |
| parent | Ensure page is always random (diff) | |
| parent | Update 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.py | 1 | ||||
| -rw-r--r-- | bot/exts/fun/snakes/_snakes_cog.py | 8 | 
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  |