diff options
| author | Rapptz <[email protected]> | 2020-01-14 20:37:48 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-01-14 20:37:48 -0500 |
| commit | a841efa0874c10dc4704c88cea25f73506db4054 (patch) | |
| tree | b72d6059f954c0330d3303c38d4d86129d87e30b /docs | |
| parent | [commands] Force the predicate attribute in checks to be a coroutine (diff) | |
| download | discord.py-a841efa0874c10dc4704c88cea25f73506db4054.tar.xz discord.py-a841efa0874c10dc4704c88cea25f73506db4054.zip | |
Add support for custom activities
It's been long enough.
Fixes #2400
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst index 199d32c1..fab60587 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -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 ~~~~~~~~~~~~ |