diff options
| author | Rapptz <[email protected]> | 2021-04-04 00:17:59 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-04-04 00:17:59 -0400 |
| commit | 6d63cf0d5db47786a05c12ffe4c7597c8c0a55b8 (patch) | |
| tree | 97d940a4e6d7eab808a25eb0e0dda69834d52ed7 | |
| parent | Fix StoreChannel reference in changelog (diff) | |
| download | discord.py-6d63cf0d5db47786a05c12ffe4c7597c8c0a55b8.tar.xz discord.py-6d63cf0d5db47786a05c12ffe4c7597c8c0a55b8.zip | |
Add missing StoreChannel documentation
| -rw-r--r-- | docs/api.rst | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/docs/api.rst b/docs/api.rst index 3ed59c04..f5bd8075 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -204,7 +204,7 @@ to handle it, which defaults to print a traceback and ignoring the exception. .. function:: on_disconnect() - Called when the client has disconnected from Discord, or a connection attempt to Discord has failed. + Called when the client has disconnected from Discord, or a connection attempt to Discord has failed. This could happen either through the internet being disconnected, explicit calls to close, or Discord terminating the connection one way or the other. @@ -516,7 +516,7 @@ to handle it, which defaults to print a traceback and ignoring the exception. To get the message being reacted, access it via :attr:`Reaction.message`. This requires both :attr:`Intents.reactions` and :attr:`Intents.members` to be enabled. - + .. note:: Consider using :func:`on_raw_reaction_remove` if you need this and do not want @@ -1160,7 +1160,7 @@ of :class:`enum.Enum`. .. versionadded:: 1.7 .. attribute:: guild_discovery_grace_period_initial_warning - + The system message denoting that the guild has failed to meet the Server Discovery requirements for one week. @@ -1169,7 +1169,7 @@ of :class:`enum.Enum`. The system message denoting that the guild has failed to meet the Server Discovery requirements for 3 weeks in a row. - + .. versionadded:: 1.7 .. class:: ActivityType @@ -3035,6 +3035,15 @@ TextChannel .. automethod:: typing :async-with: +StoreChannel +~~~~~~~~~~~~~ + +.. attributetable:: StoreChannel + +.. autoclass:: StoreChannel() + :members: + :inherited-members: + VoiceChannel ~~~~~~~~~~~~~ |