mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 18:33:02 +00:00
Expose _ActivityTag as BaseActivity to easily refer to.
This commit is contained in:
@ -150,7 +150,7 @@ class Member(discord.abc.Messageable, _BaseUser):
|
||||
joined_at: Optional[:class:`datetime.datetime`]
|
||||
A datetime object that specifies the date and time in UTC that the member joined the guild for
|
||||
the first time. In certain cases, this can be ``None``.
|
||||
activities: Tuple[Union[:class:`Game`, :class:`Streaming`, :class:`Spotify`, :class:`Activity`]]
|
||||
activities: Tuple[Union[:class:`BaseActivity`, :class:`Spotify`]]
|
||||
The activities that the user is currently doing.
|
||||
guild: :class:`Guild`
|
||||
The guild that the member belongs to.
|
||||
@ -381,7 +381,7 @@ class Member(discord.abc.Messageable, _BaseUser):
|
||||
|
||||
@property
|
||||
def activity(self):
|
||||
"""Union[:class:`Game`, :class:`Streaming`, :class:`Spotify`, :class:`Activity`]: Returns the primary
|
||||
"""Union[:class:`BaseActivity`, :class:`Spotify`]: Returns the primary
|
||||
activity the user is currently doing. Could be None if no activity is being done.
|
||||
|
||||
.. note::
|
||||
|
Reference in New Issue
Block a user