$interactionUpdate
$interactionUpdate
will return update an existing interaction.
Usage
$interactionUpdate[content]
Parameters
Field | Type | Description | Required |
---|---|---|---|
content | string | New message content. | true |
Example(s)
1module.exports = [{2 name: "interactionUpdate",3 type: "interaction",4 prototype: "slash",5 code: `6 $interactionReply[Hello, World! {actionRow:{button:Example Button!:primary:customID:false}};everyone;false]7 `8});
1module.exports = [2 {3 name: "customID",4 type: "interaction",5 prototype: "button",6 code: `7 $interactionUpdate[Bye, world.]8 `9 }10];
1module.exports = [2 {3 name: "customID",4 type: "interaction",5 prototype: "button",6 code: `7 $interactionUpdate[Bye, world. {newEmbed:{title:Hello!}{description:This is an embed!}}]8 `9 }10];