Skip to content

$isInteractionRepliable

$isInteractionRepliable will return true or false depending on whether the interaction is able to reply or not.

Usage

$isInteractionRepliable

Example(s)

This will return true because the interaction is able reply.

1
client.interactionCommand({
2
name: "isInteractionRepliable",
3
prototype: "slash",
4
code: `
5
$isInteractionRepliable
6
$interactionReply[I just replied!]
7
`
8
});