Fix typos in AppCommandPermissions attributes doc

This commit is contained in:
will 2022-06-07 15:23:22 +07:00 committed by GitHub
parent 377dde4e4e
commit ae51d5849a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -862,7 +862,7 @@ class AppCommandPermissions:
Attributes
-----------
guild: :class:`~discord.Guild`
The guild assosiated with this permission.
The guild associated with this permission.
id: :class:`int`
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".
@ -872,7 +872,7 @@ class AppCommandPermissions:
type: :class:`.AppCommandPermissionType`
The type of permission.
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')