Browse Source
Update documentation for rules/updates channels
pull/6128/head
RocketRace
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
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``. |
|
|
|
|
|
|
|