Add support for Guild.system_channel

This commit is contained in:
Rapptz committed 2017-08-17 18:14:52 -04:00
1 parent b8c19954e4
commit 13c6a0a17a
4 files changed
+36 -2

No files matched your search

+10
View File
@@ -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`.