diff options
| author | Stanisław Jelnicki <[email protected]> | 2021-05-13 02:34:44 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-12 20:34:44 -0400 |
| commit | 9b4e820bbe432081b59936975202853455c938a4 (patch) | |
| tree | 54a0908057d1f4a556fc78b5c0371ac1eeee70c3 /docs | |
| parent | Fix issues with imports causing NameErrors (diff) | |
| download | discord.py-9b4e820bbe432081b59936975202853455c938a4.tar.xz discord.py-9b4e820bbe432081b59936975202853455c938a4.zip | |
Document Invite.inviter as optional
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/api.rst b/docs/api.rst index 44b1e727..bacbc0e9 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -2010,9 +2010,9 @@ of :class:`enum.Enum`. .. attribute:: stream The invite targets a stream. - + .. attribute:: embedded_application - + The invite targets an embedded application activity. .. class:: VideoQualityMode @@ -2538,7 +2538,7 @@ AuditLogDiff See also :attr:`Invite.inviter`. - :type: :class:`User` + :type: Optional[:class:`User`] .. attribute:: max_uses |