From 6525ac948c401c9ddc8d86fc01e0857ce262e31f Mon Sep 17 00:00:00 2001 From: Glazed_Belmont <48196637+GlaZedBelmont@users.noreply.github.com> Date: Mon, 2 Mar 2020 17:12:17 -0500 Subject: [PATCH] fixing the BaseActivity links --- discord/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/client.py b/discord/client.py index 581341b3d..00465797d 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