[commands] Context.invoke will now return what the command returns.
This commit is contained in:
1 parent
1688d513e8
commit
45c6619018
1 file changed
+2
-1
@@ -112,5 +112,6 @@ class Context:
|
||||
|
||||
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