From 13c6a0a17a1963d102f887e3be950c2e0dfdf36e Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 17 Aug 2017 18:13:18 -0400 Subject: Add support for Guild.system_channel --- docs/api.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs') 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`. -- cgit v1.2.3