Add intersphinx

This commit is contained in:
Tobotimus
2018-01-06 17:21:56 -05:00
committed by Rapptz
parent 0ef866a704
commit 3112e1c17e
37 changed files with 267 additions and 268 deletions

View File

@ -68,7 +68,7 @@ class WebhookAdapter:
multipart: Optional[dict]
A dict containing multipart form data to send with
the request. If a filename is being uploaded, then it will
be under a ``file`` key which will have a 3-element tuple
be under a ``file`` key which will have a 3-element :class:`tuple`
denoting ``(filename, file, content_type)``.
payload: Optional[dict]
The JSON to send with the request, if any.
@ -320,20 +320,20 @@ class Webhook:
Attributes
------------
id: int
id: :class:`int`
The webhook's ID
token: str
token: :class:`str`
The authentication token of the webhook.
guild_id: Optional[int]
guild_id: Optional[:class:`int`]
The guild ID this webhook is for.
channel_id: Optional[int]
channel_id: Optional[:class:`int`]
The channel ID this webhook is for.
user: Optional[:class:`abc.User`]
The user this webhook was created by. If the webhook was
received without authentication then this will be ``None``.
name: Optional[str]
name: Optional[:class:`str`]
The default name of the webhook.
avatar: Optional[str]
avatar: Optional[:class:`str`]
The default avatar of the webhook.
"""
@ -581,7 +581,7 @@ class Webhook:
If the ``embed`` parameter is provided, it must be of type :class:`Embed` and
it must be a rich embed type. You cannot mix the ``embed`` parameter with the
``embeds`` parameter, which must be a list of :class:`Embed` objects to send.
``embeds`` parameter, which must be a :class:`list` of :class:`Embed` objects to send.
Parameters
------------