mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add __slots__ where appropriate to data classes.
This commit is contained in:
1 parent
4fa5b50d2b
commit
f1f0e169e4
10 files changed
+33
-12
No files matched your search
@@ -81,7 +81,6 @@ class ConnectionState:
|
||||
self.messages.append(message)
|
||||
|
||||
def parse_message_delete(self, data):
|
||||
channel = self.get_channel(data.get('channel_id'))
|
||||
message_id = data.get('id')
|
||||
found = self._get_message(message_id)
|
||||
if found is not None:
|
||||
|
||||
Reference in new issue
Block a user