aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2022-01-14 12:38:51 -0500
committerGravatar GitHub <[email protected]>2022-01-14 12:38:51 -0500
commit4ca612f62019a0e83849ea39f4e9ed5dabe485f2 (patch)
tree21ad67b95aec4941ade8c874386210b543b361c8
parentchore: Suppress output in the setup code, not the code that gets timed. (diff)
chore: fix a typo
Co-authored-by: Bluenix <[email protected]>
-rw-r--r--bot/exts/utils/snekbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/snekbox.py b/bot/exts/utils/snekbox.py
index 0d8da5e56..b16a62479 100644
--- a/bot/exts/utils/snekbox.py
+++ b/bot/exts/utils/snekbox.py
@@ -120,7 +120,7 @@ class Snekbox(Cog):
Use the first code block, but prefer a fenced code block.
If there are several fenced code blocks, concatenate only the fenced code blocks.
- Retrun a list of code blocks if any, otherwise return a list with a single string of code.
+ Return a list of code blocks if any, otherwise return a list with a single string of code.
"""
if match := list(FORMATTED_CODE_REGEX.finditer(code)):
blocks = [block for block in match if block.group("block")]