Browse Source

remove extraneous assignment

pull/6191/head
Sebastian Law 4 years ago
committed by GitHub
parent
commit
36292a65ea
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/state.py

2
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:

Loading…
Cancel
Save