Uses the default bot.loop instead of the one in config
This commit is contained in:
parent
7a44081ea3
commit
7344058a7b
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Owner:
|
|||
await self.bot.say("```{0}```".format(result))
|
||||
elif match_single:
|
||||
def r(v):
|
||||
config.loop.create_task(self.bot.say("```{0}```".format(v)))
|
||||
self.bot.loop.create_task(self.bot.say("```{}```".format(v)))
|
||||
exec(match_multi[0])
|
||||
|
||||
@commands.command(pass_context=True)
|
||||
|
|
Loading…
Reference in a new issue