fixing the BaseActivity links
This commit is contained in:
parent
6c55bdfe39
commit
6525ac948c
@ -147,7 +147,7 @@ class Client:
|
|||||||
must be used to fetch the offline members of the guild.
|
must be used to fetch the offline members of the guild.
|
||||||
status: Optional[:class:`.Status`]
|
status: Optional[:class:`.Status`]
|
||||||
A status to start your presence with upon logging on to Discord.
|
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.
|
An activity to start your presence with upon logging on to Discord.
|
||||||
heartbeat_timeout: :class:`float`
|
heartbeat_timeout: :class:`float`
|
||||||
The maximum numbers of seconds before timing out and restarting the
|
The maximum numbers of seconds before timing out and restarting the
|
||||||
@ -647,7 +647,7 @@ class Client:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def activity(self):
|
def activity(self):
|
||||||
"""Optional[:class:`BaseActivity`]: The activity being used upon
|
"""Optional[:class:`.BaseActivity`]: The activity being used upon
|
||||||
logging in.
|
logging in.
|
||||||
"""
|
"""
|
||||||
return create_activity(self._connection._activity)
|
return create_activity(self._connection._activity)
|
||||||
@ -914,7 +914,7 @@ class Client:
|
|||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
activity: Optional[:class:`BaseActivity`]
|
activity: Optional[:class:`.BaseActivity`]
|
||||||
The activity being done. ``None`` if no currently active activity is done.
|
The activity being done. ``None`` if no currently active activity is done.
|
||||||
status: Optional[:class:`.Status`]
|
status: Optional[:class:`.Status`]
|
||||||
Indicates what status to change to. If ``None``, then
|
Indicates what status to change to. If ``None``, then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user