Allow finer grained control over the member cache.

This commit is contained in:
Rapptz
2020-09-14 02:52:53 -04:00
parent e6edc44f3d
commit 23ae084b8c
7 changed files with 184 additions and 11 deletions

View File

@@ -291,6 +291,14 @@ 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])
@property
def raw_status(self):
""":class:`str`: The member's overall status as a string value.
.. versionadded:: 1.5
"""
return self._client_status[None]
@status.setter
def status(self, value):
# internal use only