We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
interaction
1 parent aff772c commit c13f18eCopy full SHA for c13f18e
packages/discord.js/src/structures/Message.js
@@ -426,6 +426,7 @@ class Message extends Base {
426
/**
427
* Partial data of the interaction that this message is a reply to
428
* @type {?MessageInteraction}
429
+ * @deprecated Use {@link Message#interactionMetadata} instead.
430
*/
431
this.interaction = {
432
id: data.interaction.id,
packages/discord.js/typings/index.d.ts
@@ -6416,6 +6416,7 @@ export interface MessageInteractionMetadata {
6416
triggeringInteractionMetadata: MessageInteractionMetadata | null;
6417
}
6418
6419
+/** @deprecated Use {@link MessageInteractionMetadata} instead. */
6420
export interface MessageInteraction {
6421
id: Snowflake;
6422
type: InteractionType;
0 commit comments