Components
Attach components to a message created with an interaction.
Introduction
Examples:
Adding component(s)
void interaction.createMessage({
content: "Click on the button to confirm:",
components: [
{
type: InteractionComponentType.BUTTON,
emoteID: 90002171, // checkmark emote
customID: "action_confirm_" + interaction.memberID
}
]
});Removing components
Editing interaction/message without removing components
Last updated