mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
docs: update UserContextMenu documentation v13 (#8721)
Co-authored-by: A. Román <kyradiscord@gmail.com> Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
@@ -22,7 +22,7 @@ class ContextMenuInteraction extends BaseCommandInteraction {
|
|||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The id of the target of the interaction
|
* The id of the target of this interaction
|
||||||
* @type {Snowflake}
|
* @type {Snowflake}
|
||||||
*/
|
*/
|
||||||
this.targetId = data.data.target_id;
|
this.targetId = data.data.target_id;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const ContextMenuInteraction = require('./ContextMenuInteraction');
|
|||||||
*/
|
*/
|
||||||
class UserContextMenuInteraction extends ContextMenuInteraction {
|
class UserContextMenuInteraction extends ContextMenuInteraction {
|
||||||
/**
|
/**
|
||||||
* The user this interaction was sent from
|
* The target user from this interaction
|
||||||
* @type {User}
|
* @type {User}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
@@ -17,7 +17,7 @@ class UserContextMenuInteraction extends ContextMenuInteraction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The member this interaction was sent from
|
* The target member from this interaction
|
||||||
* @type {?(GuildMember|APIGuildMember)}
|
* @type {?(GuildMember|APIGuildMember)}
|
||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user