Skip to content
Components & Interactions isActivityCommand

$isActivityCommand — Returns whether the interaction is an activity command

Returns whether the interaction is an activity command

Syntax

$isActivityCommand

Parameters

None.

Return Value

  • Boolean.

Usage

$isActivityCommand → result

Example

$isActivityCommand

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.