(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 an auto-response or auto-moderation system.
word- The phrases/words the bot checks for. Separate phrases using
Create a new command with command trigger set as
Put text in the reply message/code.
Now, let's say in chat someone typed :
Hi Noituri etc. The bot would respond with "Hello there! How are you?".