Fix some lingering attribute setting issues.

This commit is contained in:
Rapptz 2018-12-14 21:59:31 -05:00
parent c7396dc8ac
commit 26bb6c6ddc

View File

@ -232,6 +232,11 @@ class Member(discord.abc.Messageable, _BaseUser):
""":class:`Status`: The member's overall status. If the value is unknown, then it will be a :class:`str` instead."""
return try_enum(Status, self._client_status[None])
@status.setter
def status(self, value):
# internal use only
self._client_status[None] = str(value)
@property
def mobile_status(self):
""":class:`Status`: The member's status on a mobile device, if applicable."""