aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/core
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2023-11-13 14:43:34 +0000
committerGravatar GitHub <[email protected]>2023-11-13 14:43:34 +0000
commiteed1a172c9c5e2000d933da9200259b1b7e4be87 (patch)
treed30020e77e59a891cb36f6f2ce922eef16535c28 /bot/exts/core
parentBump sentry-sdk from 1.34.0 to 1.35.0 (#1396) (diff)
parentLint repo with new ruff rules (diff)
Merge pull request #1395 from python-discord/dependabot/pip/ruff-0.1.5
Bump ruff from 0.1.4 to 0.1.5
Diffstat (limited to 'bot/exts/core')
-rw-r--r--bot/exts/core/internal_eval/_internal_eval.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/core/internal_eval/_internal_eval.py b/bot/exts/core/internal_eval/_internal_eval.py
index f5188c1f..1ae3c043 100644
--- a/bot/exts/core/internal_eval/_internal_eval.py
+++ b/bot/exts/core/internal_eval/_internal_eval.py
@@ -165,7 +165,7 @@ class InternalEval(commands.Cog):
code = "\n".join(block.group("code") for block in blocks)
else:
match = match[0] if len(blocks) == 0 else blocks[0]
- code, block, lang, delim = match.group("code", "block", "lang", "delim")
+ code, _, _, _ = match.group("code", "block", "lang", "delim")
else:
code = RAW_CODE_REGEX.fullmatch(code).group("code")