Document BaseActivity

This commit is contained in:
Rapptz 2020-01-14 22:08:21 -05:00
parent 1b4b6f8da2
commit 5f7a97ff96
3 changed files with 6 additions and 8 deletions

View File

@ -904,10 +904,6 @@ class Client:
Changes the client's presence.
The activity parameter is a :class:`.Activity` object (not a string) that represents
the activity being done currently. This could also be the slimmed down versions,
:class:`.Game` and :class:`.Streaming`.
Example
---------

View File

@ -300,10 +300,6 @@ class AutoShardedClient(Client):
Changes the client's presence.
The activity parameter is a :class:`Activity` object (not a string) that represents
the activity being done currently. This could also be the slimmed down versions,
:class:`Game` and :class:`Streaming`.
Example: ::
game = discord.Game("with the API")

View File

@ -2483,6 +2483,12 @@ Colour
.. autoclass:: Colour
:members:
BaseActivity
~~~~~~~~~~~~~~
.. autoclass:: BaseActivity
:members:
Activity
~~~~~~~~~