Update documentation for rules/updates channels
This commit is contained in:
parent
96059e5365
commit
a39c957ba5
@ -470,7 +470,7 @@ class Guild(Hashable):
|
|||||||
@property
|
@property
|
||||||
def rules_channel(self):
|
def rules_channel(self):
|
||||||
"""Optional[:class:`TextChannel`]: Return's the guild's channel used for the rules.
|
"""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``.
|
If no channel is set, then this returns ``None``.
|
||||||
|
|
||||||
@ -482,8 +482,8 @@ class Guild(Hashable):
|
|||||||
@property
|
@property
|
||||||
def public_updates_channel(self):
|
def public_updates_channel(self):
|
||||||
"""Optional[:class:`TextChannel`]: Return's the guild's channel where admins and
|
"""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
|
moderators of the guilds receive notices from Discord. The guild must be a
|
||||||
guilds that contain ``PUBLIC`` in :attr:`Guild.features`.
|
Community guild.
|
||||||
|
|
||||||
If no channel is set, then this returns ``None``.
|
If no channel is set, then this returns ``None``.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user