Fix Interaction (EPHEMERAL message)
This commit is contained in:
parent
ca65ee382c
commit
9ee3f1e0c3
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user