mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
docs: Correct wrong interaction links (#6274)
* docs: Correct wrong interaction links * docs: fix errors and apply single option * Update src/structures/CommandInteraction.js Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
@@ -92,8 +92,8 @@ class CommandInteraction extends Interaction {
|
||||
* @property {CommandInteractionOption[]} [options] Additional options if this option is a
|
||||
* subcommand (group)
|
||||
* @property {User} [user] The resolved user
|
||||
* @property {GuildMember|APIGuildMember} [member] The resolved member
|
||||
* @property {GuildChannel|APIChannel} [channel] The resolved channel
|
||||
* @property {GuildMember|APIInteractionDataResolvedOption} [member] The resolved member
|
||||
* @property {GuildChannel|APIInteractionDataResolvedOption} [channel] The resolved channel
|
||||
* @property {Role|APIRole} [role] The resolved role
|
||||
*/
|
||||
|
||||
@@ -151,3 +151,8 @@ module.exports = CommandInteraction;
|
||||
* @external APIApplicationCommandOptionResolved
|
||||
* @see {@link https://discord.com/developers/docs/interactions/slash-commands#interaction-applicationcommandinteractiondataresolved}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @external APIInteractionDataResolvedOption
|
||||
* @see {@link https://discord.com/developers/docs/interactions/slash-commands#sample-application-command-interaction-application-command-interaction-data-resolved-structure}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user