From e469174071ce6437140f25faf3c3a519a51f3d42 Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 24 Jan 2020 19:53:34 -0600 Subject: [PATCH] Documentation fixes (#2531) * Fix indentation for versionadded for Team.members * Replace tabs with spaces in API Reference documentation --- discord/team.py | 2 +- docs/api.rst | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/discord/team.py b/discord/team.py index 39f7f222e..0afb6458d 100644 --- a/discord/team.py +++ b/discord/team.py @@ -50,7 +50,7 @@ class Team: members: List[:class:`TeamMember`] A list of the members in the team - .. versionadded:: 1.3 + .. versionadded:: 1.3 """ __slots__ = ('_state', 'id', 'name', 'icon', 'owner_id', 'members') diff --git a/docs/api.rst b/docs/api.rst index 54ba123af..11ff76dc6 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