mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-16 18:59:09 +00:00
Fix Permissions.all_channel documentation to link attributes
This commit is contained in:
parent
31bbf7434b
commit
259c3909a8
@ -149,15 +149,16 @@ class Permissions(BaseFlags):
|
|||||||
"""A :class:`Permissions` with all channel-specific permissions set to
|
"""A :class:`Permissions` with all channel-specific permissions set to
|
||||||
``True`` and the guild-specific ones set to ``False``. The guild-specific
|
``True`` and the guild-specific ones set to ``False``. The guild-specific
|
||||||
permissions are currently:
|
permissions are currently:
|
||||||
- manage_emojis
|
|
||||||
- view_audit_log
|
- :attr:`manage_emojis`
|
||||||
- view_guild_insights
|
- :attr:`view_audit_log`
|
||||||
- manage_guild
|
- :attr:`view_guild_insights`
|
||||||
- change_nickname
|
- :attr:`manage_guild`
|
||||||
- manage_nicknames
|
- :attr:`change_nickname`
|
||||||
- kick_members
|
- :attr:`manage_nicknames`
|
||||||
- ban_members
|
- :attr:`kick_members`
|
||||||
- administrator
|
- :attr:`ban_members`
|
||||||
|
- :attr:`administrator`
|
||||||
|
|
||||||
.. versionchanged:: 1.7
|
.. versionchanged:: 1.7
|
||||||
Added :attr:`stream`, :attr:`priority_speaker` and :attr:`use_slash_commands` permissions.
|
Added :attr:`stream`, :attr:`priority_speaker` and :attr:`use_slash_commands` permissions.
|
||||||
@ -208,7 +209,7 @@ class Permissions(BaseFlags):
|
|||||||
"""A factory method that creates a :class:`Permissions` with all
|
"""A factory method that creates a :class:`Permissions` with all
|
||||||
"Advanced" permissions from the official Discord UI set to ``True``.
|
"Advanced" permissions from the official Discord UI set to ``True``.
|
||||||
|
|
||||||
.. versionadded: 1.7
|
.. versionadded:: 1.7
|
||||||
"""
|
"""
|
||||||
return cls(1 << 3)
|
return cls(1 << 3)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user