Document BaseActivity

This commit is contained in:
Rapptz committed 2020-01-14 22:09:24 -05:00
1 parent 1b4b6f8da2
commit 5f7a97ff96
3 files changed
+6 -8

No files matched your search

-4
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
---------
-4
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")