From 346161b608b2c23e0b3d9eb6d2444a999eb8523c Mon Sep 17 00:00:00 2001 From: Catboy Date: Sun, 25 Jul 2021 20:00:24 -0500 Subject: [PATCH] Added suggested docs changes Co-Authored-By: Reinhardt --- lib/structures/Interaction.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/structures/Interaction.js b/lib/structures/Interaction.js index b6b00338f..dc0a49920 100644 --- a/lib/structures/Interaction.js +++ b/lib/structures/Interaction.js @@ -8,8 +8,8 @@ const Constants = require("../Constants"); /** * Represents an interaction -* @prop {String} applicationID The id of the interaction's application -* @prop {String?} channelID The interaction token +* @prop {String} applicationID The ID of the interaction's application +* @prop {String?} channelID The ID of the channel in which the interaction was created * @prop {Object?} data The data attached to the interaction * @prop {Number?} data.componentType The type of Message Component (Message Component only) * @prop {String?} data.custom_id The ID of the Button (Message Component) @@ -20,13 +20,13 @@ const Constants = require("../Constants"); * @prop {Number} data.options.type Command option type, 1-9 * @prop {Number?} data.options.value The value of the run Slash Command (Mutually exclusive with options) * @prop {Array?} data.options.options The run Slash Command options (Mutually exclusive with value) -* @prop {String?} guildID The id of the guild in which the interaction was created -* @prop {String} id The interaction id -* @prop {Member?} member the member who triggered the interaction (This is only sene when the interaction is invoked within a guild) +* @prop {String?} guildID The ID of the guild in which the interaction was created +* @prop {String} id The ID of the interaction +* @prop {Member?} member The member who triggered the interaction (This is only sent when the interaction is invoked within a guild) * @prop {Message?} message The message the interaction came from (Message Component only) * @prop {String} token The interaction token (Interaction tokens are valid for 15 minutes after initial response and can be used to send followup messages but you must send an initial response within 3 seconds of receiving the event. If the 3 second deadline is exceeded, the token will be invalidated.) * @prop {Number} type 1 is a Ping, 2 is a Slash Command, 3 is a Message Component -* @prop {User?} user the user who triggered the interaction (This is only sent when the interaction is invoked within a dm) +* @prop {User?} user The user who triggered the interaction (This is only sent when the interaction is invoked within a dm) * @prop {Number} version The interaction version */ class Interaction extends Base {