From 4511624e790e2d02292505acb531cc9662c12c33 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Wed, 9 Jun 2021 19:32:49 +0100 Subject: [PATCH] docs(ApplicationCommand): Typos in ApplicationCommandPermissionData (#5789) --- src/structures/ApplicationCommand.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/ApplicationCommand.js b/src/structures/ApplicationCommand.js index d3e056d90..652de0043 100644 --- a/src/structures/ApplicationCommand.js +++ b/src/structures/ApplicationCommand.js @@ -134,7 +134,7 @@ class ApplicationCommand extends Base { * Data for setting the permissions of an application command. * @typedef {Object} ApplicationCommandPermissionData * @property {Snowflake} id The ID of the role or user - * @property {ApplicationCommandPermissionType|number} type Whether this permission if for a role or a user + * @property {ApplicationCommandPermissionType|number} type Whether this permission is for a role or a user * @property {boolean} permission Whether the role or user has the permission to use this command */ @@ -142,7 +142,7 @@ class ApplicationCommand extends Base { * The object returned when fetching permissions for an application command. * @typedef {Object} ApplicationCommandPermissions * @property {Snowflake} id The ID of the role or user - * @property {ApplicationCommandPermissionType} type Whether this permission if for a role or a user + * @property {ApplicationCommandPermissionType} type Whether this permission is for a role or a user * @property {boolean} permission Whether the role or user has the permission to use this command */