aboutsummaryrefslogtreecommitdiff
path: root/discord/ext
diff options
context:
space:
mode:
Diffstat (limited to 'discord/ext')
-rw-r--r--discord/ext/commands/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index b79f5b97..56c4baff 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -321,7 +321,7 @@ class Command:
try:
# first/second parameter is context
result.popitem(last=False)
- except Exception as e:
+ except Exception:
raise ValueError('Missing context parameter') from None
return result