Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 468 Bytes

usdonlyifmessagecontains.md

File metadata and controls

20 lines (15 loc) · 468 Bytes
description
Checks if value is in text

$onlyIfMessageContains

This function only allows a command to be ran if the all the values are in the <text>

$onlyIfMessageContains[text;value1;value2;...;error when value isn't in text]
bot.command({
name: "special",
code: `Special Command
$onlyIfMessageContains[Tick Tock on the clock and the party don't stop;Tick;Hole;The provided text does not have 'Tick' and 'Hole']`
})