aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-08-17 18:13:18 -0400
committerRapptz <[email protected]>2017-08-17 18:14:52 -0400
commit13c6a0a17a1963d102f887e3be950c2e0dfdf36e (patch)
tree2761b078e826a27d0534fecc2728faeac1840de9 /docs/api.rst
parentAdd default type for Game. (diff)
downloaddiscord.py-13c6a0a17a1963d102f887e3be950c2e0dfdf36e.tar.xz
discord.py-13c6a0a17a1963d102f887e3be950c2e0dfdf36e.zip
Add support for Guild.system_channel
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 24347d00..c0816af0 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -886,6 +886,7 @@ All enumerations are subclasses of `enum`_.
Possible attributes for :class:`AuditLogDiff`:
- :attr:`~AuditLogDiff.afk_channel`
+ - :attr:`~AuditLogDiff.system_channel`
- :attr:`~AuditLogDiff.afk_timeout`
- :attr:`~AuditLogDiff.default_message_notifications`
- :attr:`~AuditLogDiff.explicit_content_filter`
@@ -1491,6 +1492,15 @@ this goal, it must make use of a couple of data classes that aid in this goal.
See :attr:`Guild.afk_channel`.
+ .. attribute:: system_channel
+
+ Union[:class:`TextChannel`, :class:`Object`] – The guild's system channel.
+
+ If this could not be found, then it falls back to a :class:`Object`
+ with the ID being set.
+
+ See :attr:`Guild.system_channel`.
+
.. attribute:: afk_timeout
*int* – The guild's AFK timeout. See :attr:`Guild.afk_timeout`.