From ae51d5849a946699362372fb9d7f637bb81186f3 Mon Sep 17 00:00:00 2001 From: will <33510837+danrfq@users.noreply.github.com> Date: Tue, 7 Jun 2022 15:23:22 +0700 Subject: [PATCH] Fix typos in AppCommandPermissions attributes doc --- discord/app_commands/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/app_commands/models.py b/discord/app_commands/models.py index 197ce467a..4e7907268 100644 --- a/discord/app_commands/models.py +++ b/discord/app_commands/models.py @@ -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')