Update documentation for rules/updates channels

This commit is contained in:
RocketRace 2020-12-04 08:20:27 +09:00 committed by GitHub
parent 96059e5365
commit a39c957ba5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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``.