Begin working on gateway v4 support.

Bump websockets requirement to v3.1

Should be squashed...
This commit is contained in:
Rapptz
2016-04-26 19:38:54 -04:00
parent fda0c8cea0
commit 1c623ccf11
10 changed files with 451 additions and 153 deletions

View File

@@ -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