fix(types, bot): Clarify interaction.message comment (#4201)

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
This commit is contained in:
Fleny
2025-05-24 03:45:23 +05:30
committed by GitHub
co-authored by Awesome Stickz
parent b0d4309ec5
commit cafc5713ab
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -911,7 +911,7 @@ export interface Interaction {
token: string
/** Read-only property, always `1` */
version: 1
/** For the message the button was attached to */
/** For components or modals triggered by components, the message they were attached to */
message?: Message
/** the command data payload */
data?: InteractionData
+1 -1
View File
@@ -43,7 +43,7 @@ export interface DiscordInteraction {
token: string
/** Read-only property, always `1` */
version: 1
/** For the message the button was attached to */
/** For components or modals triggered by components, the message they were attached to */
message?: DiscordMessage
/** the command data payload */
data?: DiscordInteractionData