Fix Interaction (EPHEMERAL message)

This commit is contained in:
March 7th 2022-04-29 12:12:18 +07:00
parent ca65ee382c
commit 9ee3f1e0c3
2 changed files with 2 additions and 0 deletions

View File

@ -178,6 +178,7 @@ class MessageButton extends BaseMessageComponent {
message_id: message.id,
application_id: message.author.id,
session_id: message.client.session_id,
message_flags: message.flags.bitfield,
data: {
component_type: 2, // Button
custom_id: this.customId,

View File

@ -247,6 +247,7 @@ class MessageSelectMenu extends BaseMessageComponent {
message_id: message.id,
application_id: message.author.id,
session_id: message.client.session_id,
message_flags: message.flags.bitfield,
data: {
component_type: 3, // Select Menu
custom_id: this.customId,