diff options
Diffstat (limited to 'discord/ext/commands/bot.py')
| -rw-r--r-- | discord/ext/commands/bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index 349e5d0d..d23eeb49 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -311,7 +311,7 @@ class Bot(GroupMixin, discord.Client): if delete_after is not None: @asyncio.coroutine def delete(): - yield from asyncio.sleep(delete_after) + yield from asyncio.sleep(delete_after, loop=self.loop) yield from self.delete_message(msg) discord.compat.create_task(delete(), loop=self.loop) |