[commands] Context.invoke will now return what the command returns.

This commit is contained in:
Rapptz 2016-01-28 16:44:16 -05:00
parent 1688d513e8
commit 45c6619018

View File

@ -112,5 +112,6 @@ class Context:
arguments.extend(args)
yield from command.callback(*arguments, **kwargs)
ret = yield from command.callback(*arguments, **kwargs)
return ret