Skip to content

Commit

Permalink
docs(ApplicationCommand): Typos in ApplicationCommandPermissionData (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Jun 9, 2021
1 parent c6aeebb commit 4511624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/structures/ApplicationCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,15 @@ 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
*/

/**
* 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
*/

Expand Down

0 comments on commit 4511624

Please sign in to comment.