Begin working on gateway v4 support.
Bump websockets requirement to v3.1 Should be squashed...
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user