From 5f7a97ff9614828a0a8db4d30d496d3caf25b3ac Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 14 Jan 2020 22:08:21 -0500 Subject: [PATCH] Document BaseActivity --- discord/client.py | 4 ---- discord/shard.py | 4 ---- docs/api.rst | 6 ++++++ 3 files changed, 6 insertions(+), 8 deletions(-) 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 ~~~~~~~~~