diff --git a/discord/client.py b/discord/client.py index 378b276de..78cbe2afa 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 f600e13cc..bcfe0cf6f 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 fab605879..a975b6240 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -2483,6 +2483,12 @@ Colour .. autoclass:: Colour :members: +BaseActivity +~~~~~~~~~~~~~~ + +.. autoclass:: BaseActivity + :members: + Activity ~~~~~~~~~