diff options
| author | Sebastian Law <[email protected]> | 2020-12-22 04:18:32 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-22 07:18:32 -0500 |
| commit | 36292a65ea79400291d25cc6ca0a95c94089d06e (patch) | |
| tree | 53e968f89fa99cf18df2c034ee175023a7e0eace | |
| parent | [commands] Fix exception hierarchy documentation (diff) | |
| download | discord.py-36292a65ea79400291d25cc6ca0a95c94089d06e.tar.xz discord.py-36292a65ea79400291d25cc6ca0a95c94089d06e.zip | |
remove extraneous assignment
| -rw-r--r-- | discord/state.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/discord/state.py b/discord/state.py index 983577ab..e05851c5 100644 --- a/discord/state.py +++ b/discord/state.py @@ -688,8 +688,6 @@ class ConnectionState: log.debug('CHANNEL_CREATE referencing an unknown channel type %s. Discarding.', data['type']) return - channel = None - if ch_type in (ChannelType.group, ChannelType.private): channel_id = int(data['id']) if self._get_private_channel(channel_id) is None: |