diff options
| author | Hornwitser <[email protected]> | 2018-06-22 16:08:27 +0200 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-08-22 21:43:53 -0400 |
| commit | c8b49d37be8c4aabb2d5896708f9dff91ffae368 (patch) | |
| tree | d0b49a0532a69f7c34b330d54cc57b65719ad1ea /discord/state.py | |
| parent | [lint] Remove unnecessary lambdas (diff) | |
| download | discord.py-c8b49d37be8c4aabb2d5896708f9dff91ffae368.tar.xz discord.py-c8b49d37be8c4aabb2d5896708f9dff91ffae368.zip | |
[lint] Fix incorrect and inconsistent whitespace
Adjust whitespace to be consistent with the rest of the library.
Diffstat (limited to 'discord/state.py')
| -rw-r--r-- | discord/state.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/state.py b/discord/state.py index f0275532..f3038573 100644 --- a/discord/state.py +++ b/discord/state.py @@ -405,7 +405,7 @@ class ConnectionState: raw = RawReactionClearEvent(data) self.dispatch('raw_reaction_clear', raw) - message = self._get_message(raw.message_id) + message = self._get_message(raw.message_id) if message is not None: old_reactions = message.reactions.copy() message.reactions.clear() @@ -457,7 +457,7 @@ class ConnectionState: self.user = ClientUser(state=self, data=data) def parse_channel_delete(self, data): - guild = self._get_guild(utils._get_as_snowflake(data, 'guild_id')) + guild = self._get_guild(utils._get_as_snowflake(data, 'guild_id')) channel_id = int(data['id']) if guild is not None: channel = guild.get_channel(channel_id) |