aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRocketRace <[email protected]>2020-12-04 08:20:27 +0900
committerGitHub <[email protected]>2020-12-03 18:20:27 -0500
commita39c957ba51f26cf8668b96fd797f8be79475116 (patch)
tree7b0babbf44a9f56917f7f4e679b99f69f17ec360
parentAdd reaction roles example (diff)
downloaddiscord.py-a39c957ba51f26cf8668b96fd797f8be79475116.tar.xz
discord.py-a39c957ba51f26cf8668b96fd797f8be79475116.zip
Update documentation for rules/updates channels
-rw-r--r--discord/guild.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/guild.py b/discord/guild.py
index b781a360..1f78de42 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``.