diff options
| author | Rapptz <[email protected]> | 2020-01-14 20:54:31 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-01-14 20:56:00 -0500 |
| commit | 42a084028ce38c35285efa48edff3425bbd06e5e (patch) | |
| tree | d0aeeea37b82be0f10ae599a3091edfd346bab12 /discord/widget.py | |
| parent | Add support for custom activities (diff) | |
| download | discord.py-42a084028ce38c35285efa48edff3425bbd06e5e.tar.xz discord.py-42a084028ce38c35285efa48edff3425bbd06e5e.zip | |
Expose _ActivityTag as BaseActivity to easily refer to.
Diffstat (limited to 'discord/widget.py')
| -rw-r--r-- | discord/widget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/widget.py b/discord/widget.py index a1037086..50888605 100644 --- a/discord/widget.py +++ b/discord/widget.py @@ -113,7 +113,7 @@ class WidgetMember(BaseUser): The member's nickname. avatar: Optional[:class:`str`] The member's avatar hash. - activity: Optional[Union[:class:`Activity`, :class:`Game`, :class:`Streaming`, :class:`Spotify`]] + activity: Optional[Union[:class:`BaseActivity`, :class:`Spotify`]] The member's activity. deafened: Optional[:class:`bool`] Whether the member is currently deafened. |