docs: all the missing object -> Object changes (#5738)

This commit is contained in:
Jan
2021-06-03 16:57:46 +02:00
committed by GitHub
parent bfe01b52ab
commit b317d86a93
4 changed files with 5 additions and 5 deletions

View File

@@ -68,7 +68,7 @@ class WebSocketManager extends EventEmitter {
/** /**
* An array of queued events before this WebSocketManager became ready * An array of queued events before this WebSocketManager became ready
* @type {object[]} * @type {Object[]}
* @private * @private
* @name WebSocketManager#packetQueue * @name WebSocketManager#packetQueue
*/ */

View File

@@ -56,7 +56,7 @@ class GuildApplicationCommandManager extends ApplicationCommandManager {
/** /**
* Data used for overwriting the permissions for all application commands in a guild. * Data used for overwriting the permissions for all application commands in a guild.
* @typedef {object} GuildApplicationCommandPermissionData * @typedef {Object} GuildApplicationCommandPermissionData
* @prop {Snowflake} command The ID of the command * @prop {Snowflake} command The ID of the command
* @prop {ApplicationCommandPermissionData[]} permissions The permissions for this command * @prop {ApplicationCommandPermissionData[]} permissions The permissions for this command
*/ */

View File

@@ -132,7 +132,7 @@ class ApplicationCommand extends Base {
/** /**
* Data for setting the permissions of an application command. * Data for setting the permissions of an application command.
* @typedef {object} ApplicationCommandPermissionData * @typedef {Object} ApplicationCommandPermissionData
* @property {Snowflake} id The ID of the role or user * @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 if for a role or a user
* @property {boolean} permission Whether the role or user has the permission to use this command * @property {boolean} permission Whether the role or user has the permission to use this command
@@ -140,7 +140,7 @@ class ApplicationCommand extends Base {
/** /**
* The object returned when fetching permissions for an application command. * The object returned when fetching permissions for an application command.
* @typedef {object} ApplicationCommandPermissions * @typedef {Object} ApplicationCommandPermissions
* @property {Snowflake} id The ID of the role or user * @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 if for a role or a user
* @property {boolean} permission Whether the role or user has the permission to use this command * @property {boolean} permission Whether the role or user has the permission to use this command

View File

@@ -235,7 +235,7 @@ class Message extends Base {
/** /**
* Partial data of the interaction that a message is a reply to * Partial data of the interaction that a message is a reply to
* @typedef {object} MessageInteraction * @typedef {Object} MessageInteraction
* @property {Snowflake} id The ID of the interaction * @property {Snowflake} id The ID of the interaction
* @property {InteractionType} type The type of the interaction * @property {InteractionType} type The type of the interaction
* @property {string} commandName The name of the interaction's application command * @property {string} commandName The name of the interaction's application command