aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/ext/commands/context.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/ext/commands/context.py b/discord/ext/commands/context.py
index 012f65a7..7413eead 100644
--- a/discord/ext/commands/context.py
+++ b/discord/ext/commands/context.py
@@ -112,5 +112,6 @@ class Context:
arguments.extend(args)
- yield from command.callback(*arguments, **kwargs)
+ ret = yield from command.callback(*arguments, **kwargs)
+ return ret