mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Document BaseActivity
This commit is contained in:
parent
1b4b6f8da2
commit
5f7a97ff96
@ -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
|
||||
---------
|
||||
|
||||
|
@ -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")
|
||||
|
@ -2483,6 +2483,12 @@ Colour
|
||||
.. autoclass:: Colour
|
||||
:members:
|
||||
|
||||
BaseActivity
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
.. autoclass:: BaseActivity
|
||||
:members:
|
||||
|
||||
Activity
|
||||
~~~~~~~~~
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user