Added courutine functionality for live debugging
This commit is contained in:
parent
42a3f3f829
commit
4c52d52dae
|
@ -40,6 +40,7 @@ class Owner:
|
|||
else:
|
||||
if not match_multi:
|
||||
result = eval(match_single[0])
|
||||
|
||||
if inspect.isawaitable(result):
|
||||
result = await result
|
||||
await self.bot.say("```{0}```".format(result))
|
||||
|
|
Loading…
Reference in a new issue