aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/client.py4
-rw-r--r--discord/shard.py4
-rw-r--r--docs/api.rst6
3 files changed, 6 insertions, 8 deletions
diff --git a/discord/client.py b/discord/client.py
index 378b276d..78cbe2af 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -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
---------
diff --git a/discord/shard.py b/discord/shard.py
index f600e13c..bcfe0cf6 100644
--- a/discord/shard.py
+++ b/discord/shard.py
@@ -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")
diff --git a/docs/api.rst b/docs/api.rst
index fab60587..a975b624 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -2483,6 +2483,12 @@ Colour
.. autoclass:: Colour
:members:
+BaseActivity
+~~~~~~~~~~~~~~
+
+.. autoclass:: BaseActivity
+ :members:
+
Activity
~~~~~~~~~