Completely update member references from message inner members.

Fixes #5819
This commit is contained in:
Rapptz
2020-09-17 02:45:53 -04:00
parent 986adae108
commit a183c4f752
2 changed files with 8 additions and 3 deletions

View File

@ -476,8 +476,7 @@ class Message:
author = self.author
try:
# Update member reference
if author.joined_at is None:
author.joined_at = utils.parse_time(member.get('joined_at'))
author._update_from_message(member)
except AttributeError:
# It's a user here
# TODO: consider adding to cache here