From b317d86a931fe9edd0c8227b89c428e1256bb147 Mon Sep 17 00:00:00 2001 From: Jan <66554238+vaporox@users.noreply.github.com> Date: Thu, 3 Jun 2021 16:57:46 +0200 Subject: [PATCH] docs: all the missing object -> Object changes (#5738) --- src/client/websocket/WebSocketManager.js | 2 +- src/managers/GuildApplicationCommandManager.js | 2 +- src/structures/ApplicationCommand.js | 4 ++-- src/structures/Message.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/websocket/WebSocketManager.js b/src/client/websocket/WebSocketManager.js index bc004373a..7a07bc5b4 100644 --- a/src/client/websocket/WebSocketManager.js +++ b/src/client/websocket/WebSocketManager.js @@ -68,7 +68,7 @@ class WebSocketManager extends EventEmitter { /** * An array of queued events before this WebSocketManager became ready - * @type {object[]} + * @type {Object[]} * @private * @name WebSocketManager#packetQueue */ diff --git a/src/managers/GuildApplicationCommandManager.js b/src/managers/GuildApplicationCommandManager.js index 79316a14e..e75ea5e9b 100644 --- a/src/managers/GuildApplicationCommandManager.js +++ b/src/managers/GuildApplicationCommandManager.js @@ -56,7 +56,7 @@ class GuildApplicationCommandManager extends ApplicationCommandManager { /** * 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 {ApplicationCommandPermissionData[]} permissions The permissions for this command */ diff --git a/src/structures/ApplicationCommand.js b/src/structures/ApplicationCommand.js index 49cbd8ef8..d3e056d90 100644 --- a/src/structures/ApplicationCommand.js +++ b/src/structures/ApplicationCommand.js @@ -132,7 +132,7 @@ class ApplicationCommand extends Base { /** * 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 {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 @@ -140,7 +140,7 @@ class ApplicationCommand extends Base { /** * 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 {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 diff --git a/src/structures/Message.js b/src/structures/Message.js index dadc2c40d..805800997 100644 --- a/src/structures/Message.js +++ b/src/structures/Message.js @@ -235,7 +235,7 @@ class Message extends Base { /** * 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 {InteractionType} type The type of the interaction * @property {string} commandName The name of the interaction's application command