[commands] Context.invoke will now return what the command returns.
This commit is contained in:
@@ -112,5 +112,6 @@ class Context:
|
|||||||
|
|
||||||
arguments.extend(args)
|
arguments.extend(args)
|
||||||
|
|
||||||
yield from command.callback(*arguments, **kwargs)
|
ret = yield from command.callback(*arguments, **kwargs)
|
||||||
|
return ret
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user