aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2021-04-25 14:53:38 +0100
committerGitHub <[email protected]>2021-04-25 09:53:38 -0400
commit1765cdffb14b2f1890d55cf35628ff4e214e5517 (patch)
tree78fe2f48d5aecaa876d4b4b4702b9021e6ea7032 /docs
parentRemove HypesquadHouse enum from docs (diff)
downloaddiscord.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.rst30
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