Browse Source

Load member from guild_member_update dispatch

v1.5.x
Florian Spieß 5 years ago
committed by GitHub
parent
commit
ae65d75f96
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      discord/state.py

3
discord/state.py

@ -776,6 +776,9 @@ class ConnectionState:
self.dispatch('member_update', old_member, member)
else:
if self._member_cache_flags.joined:
member = Member(data=data, guild=guild, state=self)
guild._add_member(member)
log.debug('GUILD_MEMBER_UPDATE referencing an unknown member ID: %s. Discarding.', user_id)
def parse_guild_emojis_update(self, data):

Loading…
Cancel
Save