diff options
| author | Nadir Chowdhury <[email protected]> | 2021-04-25 14:53:38 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-25 09:53:38 -0400 |
| commit | 1765cdffb14b2f1890d55cf35628ff4e214e5517 (patch) | |
| tree | 78fe2f48d5aecaa876d4b4b4702b9021e6ea7032 /docs | |
| parent | Remove HypesquadHouse enum from docs (diff) | |
| download | discord.py-1765cdffb14b2f1890d55cf35628ff4e214e5517.tar.xz discord.py-1765cdffb14b2f1890d55cf35628ff4e214e5517.zip | |
Use Asset for AuditLogChanges and add more entries
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/docs/api.rst b/docs/api.rst index c0358820..a1ceb5b3 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -1347,7 +1347,7 @@ of :class:`enum.Enum`. - Changing the guild invite splash - Changing the guild AFK channel or timeout - Changing the guild voice server region - - Changing the guild icon + - Changing the guild icon, banner, or discovery splash - Changing the guild moderation settings - Changing things related to the guild widget @@ -1365,6 +1365,9 @@ of :class:`enum.Enum`. - :attr:`~AuditLogDiff.name` - :attr:`~AuditLogDiff.owner` - :attr:`~AuditLogDiff.splash` + - :attr:`~AuditLogDiff.discovery_splash` + - :attr:`~AuditLogDiff.icon` + - :attr:`~AuditLogDiff.banner` - :attr:`~AuditLogDiff.vanity_url_code` .. attribute:: channel_create @@ -1696,6 +1699,7 @@ of :class:`enum.Enum`. - :attr:`~AuditLogDiff.channel` - :attr:`~AuditLogDiff.name` + - :attr:`~AuditLogDiff.avatar` .. attribute:: webhook_delete @@ -2198,15 +2202,27 @@ AuditLogDiff .. attribute:: icon - A guild's icon hash. See also :attr:`Guild.icon`. + A guild's icon. See also :attr:`Guild.icon`. - :type: :class:`str` + :type: :class:`Asset` .. attribute:: splash - The guild's invite splash hash. See also :attr:`Guild.splash`. + The guild's invite splash. See also :attr:`Guild.splash`. - :type: :class:`str` + :type: :class:`Asset` + + .. attribute:: discovery_splash + + The guild's discovery splash. See also :attr:`Guild.discovery_splash`. + + :type: :class:`Asset` + + .. attribute:: banner + + The guild's banner. See also :attr:`Guild.banner`. + + :type: :class:`Asset` .. attribute:: owner @@ -2492,11 +2508,11 @@ AuditLogDiff .. attribute:: avatar - The avatar hash of a member. + The avatar of a member. See also :attr:`User.avatar`. - :type: :class:`str` + :type: :class:`Asset` .. attribute:: slowmode_delay |