aboutsummaryrefslogtreecommitdiff
path: root/discord/ext/commands/bot.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-04-26 19:38:54 -0400
committerRapptz <[email protected]>2016-04-27 18:36:13 -0400
commit1c623ccf110723a4c0e00375b23b9f5838468ce9 (patch)
treedd1b7d34d62679164edd5cbba53d0a10734f6f0b /discord/ext/commands/bot.py
parentAdd compatibility layer for `run_coroutine_threadsafe`. (diff)
downloaddiscord.py-1c623ccf110723a4c0e00375b23b9f5838468ce9.tar.xz
discord.py-1c623ccf110723a4c0e00375b23b9f5838468ce9.zip
Begin working on gateway v4 support.
Bump websockets requirement to v3.1 Should be squashed...
Diffstat (limited to 'discord/ext/commands/bot.py')
-rw-r--r--discord/ext/commands/bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index 9b4e44ef..3f4fa34d 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -232,7 +232,7 @@ class Bot(GroupMixin, discord.Client):
if ev in self.extra_events:
for event in self.extra_events[ev]:
coro = self._run_extra(event, event_name, *args, **kwargs)
- discord.utils.create_task(coro, loop=self.loop)
+ discord.compat.create_task(coro, loop=self.loop)
# utility "send_*" functions