diff options
| author | Glazed_Belmont <[email protected]> | 2020-03-02 17:12:17 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-04-04 01:12:08 -0400 |
| commit | 6525ac948c401c9ddc8d86fc01e0857ce262e31f (patch) | |
| tree | 8f4e517065a480bc4dbd9b2cc0b95876e5108ccd | |
| parent | Change package manager yum to dnf (diff) | |
| download | discord.py-6525ac948c401c9ddc8d86fc01e0857ce262e31f.tar.xz discord.py-6525ac948c401c9ddc8d86fc01e0857ce262e31f.zip | |
fixing the BaseActivity links
| -rw-r--r-- | discord/client.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/client.py b/discord/client.py index 581341b3..00465797 100644 --- a/discord/client.py +++ b/discord/client.py @@ -147,7 +147,7 @@ class Client: must be used to fetch the offline members of the guild. status: Optional[:class:`.Status`] A status to start your presence with upon logging on to Discord. - activity: Optional[:class:`BaseActivity`] + activity: Optional[:class:`.BaseActivity`] An activity to start your presence with upon logging on to Discord. heartbeat_timeout: :class:`float` The maximum numbers of seconds before timing out and restarting the @@ -647,7 +647,7 @@ class Client: @property def activity(self): - """Optional[:class:`BaseActivity`]: The activity being used upon + """Optional[:class:`.BaseActivity`]: The activity being used upon logging in. """ return create_activity(self._connection._activity) @@ -914,7 +914,7 @@ class Client: Parameters ---------- - activity: Optional[:class:`BaseActivity`] + 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 |