Skip to content

$interactionUpdate

$interactionUpdate will return update an existing interaction.

Usage

$interactionUpdate[content]

Parameters

FieldTypeDescriptionRequired
contentstringNew message content.true

Example(s)

1
module.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
});
1
module.exports = [
2
{
3
name: "customID",
4
type: "interaction",
5
prototype: "button",
6
code: `
7
$interactionUpdate[Bye, world.]
8
`
9
}
10
];
1
module.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
];