From a39c957ba51f26cf8668b96fd797f8be79475116 Mon Sep 17 00:00:00 2001 From: RocketRace <35444188+RocketRace@users.noreply.github.com> Date: Fri, 4 Dec 2020 08:20:27 +0900 Subject: [PATCH] Update documentation for rules/updates channels --- discord/guild.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/guild.py b/discord/guild.py index b781a360d..1f78de426 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -470,7 +470,7 @@ class Guild(Hashable): @property def rules_channel(self): """Optional[:class:`TextChannel`]: Return's the guild's channel used for the rules. - Must be a discoverable guild. + The guild must be a Community guild. If no channel is set, then this returns ``None``. @@ -482,8 +482,8 @@ class Guild(Hashable): @property def public_updates_channel(self): """Optional[:class:`TextChannel`]: Return's the guild's channel where admins and - moderators of the guilds receive notices from Discord. This is only available to - guilds that contain ``PUBLIC`` in :attr:`Guild.features`. + moderators of the guilds receive notices from Discord. The guild must be a + Community guild. If no channel is set, then this returns ``None``.