mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 00:07:51 +00:00
[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)
|
||||
|
||||
yield from command.callback(*arguments, **kwargs)
|
||||
ret = yield from command.callback(*arguments, **kwargs)
|
||||
return ret
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user