mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
docs(Message): mark interaction as deprecated (#10481)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -426,6 +426,7 @@ class Message extends Base {
|
||||
/**
|
||||
* Partial data of the interaction that this message is a reply to
|
||||
* @type {?MessageInteraction}
|
||||
* @deprecated Use {@link Message#interactionMetadata} instead.
|
||||
*/
|
||||
this.interaction = {
|
||||
id: data.interaction.id,
|
||||
|
||||
1
packages/discord.js/typings/index.d.ts
vendored
1
packages/discord.js/typings/index.d.ts
vendored
@@ -6416,6 +6416,7 @@ export interface MessageInteractionMetadata {
|
||||
triggeringInteractionMetadata: MessageInteractionMetadata | null;
|
||||
}
|
||||
|
||||
/** @deprecated Use {@link MessageInteractionMetadata} instead. */
|
||||
export interface MessageInteraction {
|
||||
id: Snowflake;
|
||||
type: InteractionType;
|
||||
|
||||
Reference in New Issue
Block a user