|
@ -403,9 +403,12 @@ class Message: |
|
|
# ourselves to a more "partial" member object. |
|
|
# ourselves to a more "partial" member object. |
|
|
author = self.author |
|
|
author = self.author |
|
|
try: |
|
|
try: |
|
|
|
|
|
# Update member reference |
|
|
if author.joined_at is None: |
|
|
if author.joined_at is None: |
|
|
author.joined_at = utils.parse_time(member.get('joined_at')) |
|
|
author.joined_at = utils.parse_time(member.get('joined_at')) |
|
|
except AttributeError: |
|
|
except AttributeError: |
|
|
|
|
|
# It's a user here |
|
|
|
|
|
# TODO: consider adding to cache here |
|
|
self.author = Member._from_message(message=self, data=member) |
|
|
self.author = Member._from_message(message=self, data=member) |
|
|
|
|
|
|
|
|
def _handle_mentions(self, mentions): |
|
|
def _handle_mentions(self, mentions): |
|
|