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/shard.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/shard.py')
| -rw-r--r-- | discord/shard.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/shard.py b/discord/shard.py index 3e85d445..f600e13c 100644 --- a/discord/shard.py +++ b/discord/shard.py @@ -311,7 +311,7 @@ class AutoShardedClient(Client): Parameters ---------- - activity: Optional[Union[:class:`Game`, :class:`Streaming`, :class:`Activity`]] + activity: Optional[:class:`BaseActivity`] The activity being done. ``None`` if no currently active activity is done. status: Optional[:class:`Status`] Indicates what status to change to. If ``None``, then |