diff options
| author | Rapptz <[email protected]> | 2015-12-19 06:18:12 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-12-19 06:18:12 -0500 |
| commit | f1f0e169e425ac9c849561788281e27bd8bb0acd (patch) | |
| tree | 0a6d6717303c57e0902fd5dea043f2f83ff4a5e4 /discord/state.py | |
| parent | Add listener for on_ready event for easier background tasks. (diff) | |
| download | discord.py-f1f0e169e425ac9c849561788281e27bd8bb0acd.tar.xz discord.py-f1f0e169e425ac9c849561788281e27bd8bb0acd.zip | |
Add __slots__ where appropriate to data classes.
Diffstat (limited to 'discord/state.py')
| -rw-r--r-- | discord/state.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/discord/state.py b/discord/state.py index a4ba1526..07c71039 100644 --- a/discord/state.py +++ b/discord/state.py @@ -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: |