Update api.twilio.php
This commit is contained in:
parent
16b2bf2186
commit
658e2b6a5e
|
@ -24,7 +24,7 @@ $response = false;
|
||||||
|
|
||||||
// temporary filter (example)
|
// temporary filter (example)
|
||||||
$terms = get_tokenized_text($message);
|
$terms = get_tokenized_text($message);
|
||||||
if(!(in_array("fuck", $terms) || in_array("bitch", $terms))) {
|
if(in_array("fuck", $terms) || in_array("bitch", $terms)) {
|
||||||
$action = "denied";
|
$action = "denied";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user