diff options
| author | Harmon <[email protected]> | 2020-01-24 19:53:34 -0600 |
|---|---|---|
| committer | Danny <[email protected]> | 2020-01-24 20:53:34 -0500 |
| commit | e469174071ce6437140f25faf3c3a519a51f3d42 (patch) | |
| tree | f23d5270422bd64dac1bd2878f14a2f7d52fad1f /docs/api.rst | |
| parent | Version bump to v1.3 (diff) | |
| download | discord.py-e469174071ce6437140f25faf3c3a519a51f3d42.tar.xz discord.py-e469174071ce6437140f25faf3c3a519a51f3d42.zip | |
Documentation fixes (#2531)
* Fix indentation for versionadded for Team.members
* Replace tabs with spaces in API Reference documentation
Diffstat (limited to 'docs/api.rst')
| -rw-r--r-- | docs/api.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/api.rst b/docs/api.rst index 54ba123a..11ff76dc 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -1548,7 +1548,7 @@ of :class:`enum.Enum`. Messages were bulk deleted by a moderator. When this is the action, the type of :attr:`~AuditLogEntry.target` is - the :class:`TextChannel` or :class:`Object` with the ID of the channel that was purged. + the :class:`TextChannel` or :class:`Object` with the ID of the channel that was purged. When this is the action, the type of :attr:`~AuditLogEntry.extra` is set to an unspecified proxy object with one attribute: @@ -1760,17 +1760,17 @@ of :class:`enum.Enum`. .. class:: WebhookType - Represents the type of webhook that can be received. + Represents the type of webhook that can be received. .. versionadded:: 1.3 - .. attribute:: incoming + .. attribute:: incoming - Represents a webhook that can post messages to channels with a token. + Represents a webhook that can post messages to channels with a token. - .. attribute:: channel_follower + .. attribute:: channel_follower - Represents a webhook that is internally managed by Discord, used for following channels. + Represents a webhook that is internally managed by Discord, used for following channels. Async Iterator ---------------- @@ -2628,7 +2628,7 @@ MessageFlags ~~~~~~~~~~~~ .. autoclass:: MessageFlags - :members: + :members: Exceptions |