mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-05 17:41:53 +00:00
Fix typos in AppCommandPermissions attributes doc
This commit is contained in:
parent
377dde4e4e
commit
ae51d5849a
@ -862,7 +862,7 @@ class AppCommandPermissions:
|
|||||||
Attributes
|
Attributes
|
||||||
-----------
|
-----------
|
||||||
guild: :class:`~discord.Guild`
|
guild: :class:`~discord.Guild`
|
||||||
The guild assosiated with this permission.
|
The guild associated with this permission.
|
||||||
id: :class:`int`
|
id: :class:`int`
|
||||||
The ID of the permission target, such as a role, channel, or guild.
|
The ID of the permission target, such as a role, channel, or guild.
|
||||||
The special ``guild_id - 1`` sentinel is used to represent "all channels".
|
The special ``guild_id - 1`` sentinel is used to represent "all channels".
|
||||||
@ -872,7 +872,7 @@ class AppCommandPermissions:
|
|||||||
type: :class:`.AppCommandPermissionType`
|
type: :class:`.AppCommandPermissionType`
|
||||||
The type of permission.
|
The type of permission.
|
||||||
permission: :class:`bool`
|
permission: :class:`bool`
|
||||||
The permission value. True for allow, False for deny.
|
The permission value. ``True`` for allow, ``False`` for deny.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
__slots__ = ('id', 'type', 'permission', 'target', 'guild', '_state')
|
__slots__ = ('id', 'type', 'permission', 'target', 'guild', '_state')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user