$isSlash

Returns whether the command was ran as a slash command or not.

🧙‍♂️ “true” means the command was ran as a slash command, “false” means it wasn’t.

Syntax

$isSlash

Example

$nomention
$if[$isSlash==true]
$message[text]
$else
$message
$endif

example