Skip to content

$interactionDeferUpdate

$interactionDeferUpdate defers the interaction message that will be updated.

Usage

$interactionDeferUpdate[ephemeral]

Parameters

FieldTypeDescriptionRequired
ephemeralbooleanVisible to the command author only?true

Example(s)

1
client.command({
2
name: "exampleButton",
3
type: "interaction",
4
prototype: "button",
5
code: `
6
$interactionFollowUp[This is the first message!]
7
$interactionEdit[This is the second message!]
8
$interactionDeferUpdate[true]`
9
});