mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Document BaseActivity
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user