$includes
Checks whether given text contains something.
Usage
$includes[text;queries]Param
Description
Type
Required
Examples
bot.commands.add({
type: "basicCommand",
name: "example",
code: `$includes[Hello World!;Hello]` //Returns true
})bot.commands.add({
type: "basicCommand",
name: "example",
code: `$includes[DBD.TS is cool!;cool;easy]
$includes[DBD.TS is cool and easy!;cool;easy]
$includes[DBD.TS is easy!;cool;easy]` //All 3 statements would return true
})Last updated
Was this helpful?