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:
Jiralite
2021-08-10 21:32:28 +01:00
committed by GitHub
parent 3c17939fd5
commit 49d3c0bf87
4 changed files with 16 additions and 8 deletions

View File

@@ -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}
*/