[commands] Context.invoke will now return what the command returns.
This commit is contained in:
parent
1688d513e8
commit
45c6619018
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user