aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2021-05-01 11:47:22 +0100
committerGitHub <[email protected]>2021-05-01 06:47:22 -0400
commit51df7496db724ed5074bc70c13e2cea9c3af67f8 (patch)
treec92ecfd8369c0947cfbda7ddab25c5e0718b7701 /docs/api.rst
parentAdd types for ApplicationCommandPermissions & co (diff)
downloaddiscord.py-51df7496db724ed5074bc70c13e2cea9c3af67f8.tar.xz
discord.py-51df7496db724ed5074bc70c13e2cea9c3af67f8.zip
Add AuditLogChanges.rules_channel/public_updates_channel
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index c2f5950a..ff4ec907 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -2260,6 +2260,30 @@ AuditLogDiff
:type: Union[:class:`TextChannel`, :class:`Object`]
+
+ .. attribute:: rules_channel
+
+ The guild's rules channel.
+
+ If this could not be found then it falls back to a :class:`Object`
+ with the ID being set.
+
+ See :attr:`Guild.rules_channel`.
+
+ :type: Union[:class:`TextChannel`, :class:`Object`]
+
+
+ .. attribute:: public_updates_channel
+
+ The guild's public updates channel.
+
+ If this could not be found then it falls back to a :class:`Object`
+ with the ID being set.
+
+ See :attr:`Guild.public_updates_channel`.
+
+ :type: Union[:class:`TextChannel`, :class:`Object`]
+
.. attribute:: afk_timeout
The guild's AFK timeout. See :attr:`Guild.afk_timeout`.