diff options
| author | Rapptz <[email protected]> | 2018-12-14 21:59:31 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-12-14 21:59:31 -0500 |
| commit | 26bb6c6ddc9c141acdcc52e3728783525db2e2be (patch) | |
| tree | 43a072f9892c1a8e193015f53a7edc18ae6142c9 | |
| parent | Add support for mobile indicators and per-client statuses. (diff) | |
| download | discord.py-26bb6c6ddc9c141acdcc52e3728783525db2e2be.tar.xz discord.py-26bb6c6ddc9c141acdcc52e3728783525db2e2be.zip | |
Fix some lingering attribute setting issues.
| -rw-r--r-- | discord/member.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/discord/member.py b/discord/member.py index 24dbd919..527111a5 100644 --- a/discord/member.py +++ b/discord/member.py @@ -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.""" |