diff options
author | 2022-01-17 14:17:11 -0500 | |
---|---|---|
committer | 2022-01-17 14:17:11 -0500 | |
commit | 20daac9075f2607d2f0a3e3958164d264bf728fb (patch) | |
tree | a47b544790efbb3976282d64ea083972c548d3ec | |
parent | fix: Add timeit parsing when the command gets reinvoked (diff) | |
parent | chore: fix a typo (diff) |
Merge branch 'feat/timeit-command' of https://github.com/python-discord/bot into feat/timeit-command
-rw-r--r-- | bot/exts/utils/snekbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/snekbox.py b/bot/exts/utils/snekbox.py index 718cff890..49f1be17b 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")] |