Document BaseActivity
This commit is contained in:
		| @@ -904,10 +904,6 @@ class Client: | |||||||
|  |  | ||||||
|         Changes the client's presence. |         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 |         Example | ||||||
|         --------- |         --------- | ||||||
|  |  | ||||||
|   | |||||||
| @@ -300,10 +300,6 @@ class AutoShardedClient(Client): | |||||||
|  |  | ||||||
|         Changes the client's presence. |         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: :: |         Example: :: | ||||||
|  |  | ||||||
|             game = discord.Game("with the API") |             game = discord.Game("with the API") | ||||||
|   | |||||||
| @@ -2483,6 +2483,12 @@ Colour | |||||||
| .. autoclass:: Colour | .. autoclass:: Colour | ||||||
|     :members: |     :members: | ||||||
|  |  | ||||||
|  | BaseActivity | ||||||
|  | ~~~~~~~~~~~~~~ | ||||||
|  |  | ||||||
|  | .. autoclass:: BaseActivity | ||||||
|  |     :members: | ||||||
|  |  | ||||||
| Activity | Activity | ||||||
| ~~~~~~~~~ | ~~~~~~~~~ | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user