$messageContains

(for premium bots)
$messageContains[] is a callback that allows you to create a trigger with multiple phrases. In addition, the bot also looks for those phrases anywhere in the author's message. This feature is great for creating a auto-response or auto-moderation system.

Usage

$messageContains[phrases]

Breakdown

  • phrases - The phrases/words the bot checks for. Separate phrases using ;.

Example

a. Make the command trigger $messageContains[].
b. Put text in the reply message/code.

example

Now, let's say in chat someone typed: Hello Bot!, Hello, Hey Everyone!, Hi Noituri, etc. The bot would respond with "Hello there! How are you?".