mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Documentation fixes (#2531)
* Fix indentation for versionadded for Team.members * Replace tabs with spaces in API Reference documentation
This commit is contained in:
parent
a2a02ea945
commit
e469174071
@ -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')
|
||||
|
||||
|
14
docs/api.rst
14
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user