$checkContains

Checks if the 'text' contains at least one of the provided 'phrases'.

Syntax

$checkContains[text;phrases]

Parameters

  • text (Type: String || Flag: Emptiable): The text that will be checked.
  • phrases (Type: String || Flag: Emptiable): The phrases/words the bot will check for in 'text'. Separate phrases using ;.

Example

$nomention
$checkContains[$message;hi;hello]

example