Skip to content

$isInteractionDeferred

$isInteractionRepliable will return true or false depending on whether the interaction has been deferred to or not.

Usage

$isInteractionDeferred

Example(s)

This will return true because the interaction has been deferred.

1
client.interactionCommand({
2
name: "isInteractionDeferred",
3
prototype: "slash",
4
code: `
5
$isInteractionDeferred
6
$interactionFollowUp[Hello World!]
7
$interactionDefer[false]
8
`
9
});