Skip to content

Commit

Permalink
Fix js docs maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCat80 committed Sep 23, 2021
1 parent 393dc1b commit 5d635b7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions lib/structures/AutocompleteInteraction.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ const {InteractionResponseTypes} = require("../Constants");
* @prop {Number} data.type The [command type](https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-types)
* @prop {String?} data.target_id The id the of user or message targetted by a context menu command
* @prop {Array<Object>?} data.options The run Application Command options
* @prop {String} data.options.name The name of the Application Command option
* @prop {Number} data.options.type Command option type, 1-10
* @prop {String? | Number? | Boolean?} data.options.value The value of the run Application Command (Mutually exclusive with options)
* @prop {Boolean?} data.options.focused Whether or not the option is focused
* @prop {Array<Object>?} data.options.options The run Application Command options (Mutually exclusive with value)
* @prop {String} data.options[].name The name of the Application Command option
* @prop {Number} data.options[].type Command option type, 1-10
* @prop {String? | Number? | Boolean?} data.options[].value The value of the run Application Command (Mutually exclusive with options)
* @prop {Boolean?} data.options[].focused Whether or not the option is focused
* @prop {Array<Object>?} data.options[].options The run Application Command options (Mutually exclusive with value)
* @prop {String?} guildID The ID of the guild in which the interaction was created
* @prop {Member?} member The member who triggered the interaction (This is only sent when the interaction is invoked within a guild)
* @prop {User?} user The user who triggered the interaction (This is only sent when the interaction is invoked within a dm)
Expand Down
8 changes: 4 additions & 4 deletions lib/structures/CommandInteraction.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ const {InteractionResponseTypes} = require("../Constants");
* @prop {Number} data.type The [command type](https://discord.com/developers/docs/interactions/application-commands#application-command-object-application-command-types)
* @prop {String?} data.target_id The id the of user or message targetted by a context menu command
* @prop {Array<Object>?} data.options The run Application Command options
* @prop {String} data.options.name The name of the Application Command option
* @prop {Number} data.options.type Command option type, 1-10
* @prop {String? | Number? | Boolean?} data.options.value The value of the run Application Command (Mutually exclusive with options)
* @prop {Array<Object>?} data.options.options The run Application Command options (Mutually exclusive with value)
* @prop {String} data.options[].name The name of the Application Command option
* @prop {Number} data.options[].type Command option type, 1-10
* @prop {String? | Number? | Boolean?} data.options[].value The value of the run Application Command (Mutually exclusive with options)
* @prop {Array<Object>?} data.options[].options The run Application Command options (Mutually exclusive with value)
* @prop {Object?} data.resolved converted users + roles + channels
* @prop {Collection<User>?} data.resolved.users converted users
* @prop {Collection<Member>?} data.resolved.members converted members
Expand Down

0 comments on commit 5d635b7

Please sign in to comment.