Browse Source

Update docs

pull/10386/head
Soheab 4 months ago
parent
commit
368e415842
  1. 6
      discord/invite.py

6
discord/invite.py

@ -119,10 +119,6 @@ class InviteUsersJob:
class PartialInviteRole: class PartialInviteRole:
"""Represents a "partial" invite role. """Represents a "partial" invite role.
This model will be given when the bot is not part of the
guild the :class:`Invite` resolves to, or when the role
is not in cache.
.. versionadded:: 2.7 .. versionadded:: 2.7
Attributes Attributes
@ -256,6 +252,8 @@ class PartialInviteRole:
-------- --------
NotFound NotFound
The role was not found. The role was not found.
ClientException
The guild was not found in cache.
HTTPException HTTPException
Retrieving the role failed. Retrieving the role failed.

Loading…
Cancel
Save