Update api.twilio.php

This commit is contained in:
Namhyeon Go 2019-10-07 19:10:03 +09:00 committed by GitHub
parent fb62d9f165
commit d0be44facc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ $response = false;
// temporary filter (example)
$terms = get_tokenized_text($message);
if(in_array("fuck", $terms) || in_array("bitch", $terms)) {
if(in_array("fuck", $terms) || in_array("bitch", $terms) || in_array("hell", $terms)) {
$action = "denied";
}