K
Kord5mo ago
Shaun

How do I add components to an interaction response?

event.interaction.respondEphemeral {
content = ""
}
event.interaction.respondEphemeral {
content = ""
}
How can I add a component to this?
1 Reply
LustigerLurch
LustigerLurch5mo ago
e.g.:
event.interaction.respondEphemeral {
content = "content"
actionRow {
interactionButton(ButtonStyle.Primary, "custom-id") {
label = "label"
}
}
}
event.interaction.respondEphemeral {
content = "content"
actionRow {
interactionButton(ButtonStyle.Primary, "custom-id") {
label = "label"
}
}
}
Want results from more Discord servers?
Add your server