1
0
Fork 0
mirror of synced 2024-06-02 18:54:33 +12:00

Added courutine functionality for live debugging

This commit is contained in:
phxntxm 2016-07-13 09:27:23 -05:00
parent 42a3f3f829
commit 4c52d52dae

View file

@ -40,6 +40,7 @@ class Owner:
else: else:
if not match_multi: if not match_multi:
result = eval(match_single[0]) result = eval(match_single[0])
if inspect.isawaitable(result): if inspect.isawaitable(result):
result = await result result = await result
await self.bot.say("```{0}```".format(result)) await self.bot.say("```{0}```".format(result))