$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 bye false !example hello true !example hi bye true