Add support for custom activities

It's been long enough.

Fixes #2400
This commit is contained in:
Rapptz committed 2020-01-14 20:37:48 -05:00
1 parent e5870903f5
commit a841efa087
3 files changed
+116 -1

No files matched your search

+9
View File
@@ -837,6 +837,9 @@ of :class:`enum.Enum`.
.. attribute:: watching
A "Watching" activity type.
.. attribute:: custom
A custom activity type.
.. class:: HypeSquadHouse
@@ -2498,6 +2501,12 @@ Streaming
.. autoclass:: Streaming
:members:
CustomActivity
~~~~~~~~~~~~~~~
.. autoclass:: CustomActivity
:members:
Permissions
~~~~~~~~~~~~