mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add RESUME support.
This commit is contained in:
1 parent
20e86973ea
commit
e0a91df32b
4 files changed
+54
-12
No files matched your search
@@ -199,6 +199,9 @@ class ConnectionState:
|
||||
|
||||
compat.create_task(self._delay_ready(), loop=self.loop)
|
||||
|
||||
def parse_resumed(self, data):
|
||||
self.dispatch('resumed')
|
||||
|
||||
def parse_message_create(self, data):
|
||||
channel = self.get_channel(data.get('channel_id'))
|
||||
message = Message(channel=channel, **data)
|
||||
|
||||
Reference in new issue
Block a user