diff --git a/mybot.php b/mybot.php index 12e0a24..6289d23 100644 --- a/mybot.php +++ b/mybot.php @@ -70,7 +70,7 @@ Questo bot si può utilizzare in due modi:\n\n· Inline: prova a tagg $telegram->sendMessage($content); } -if (strpos($text, "cerca") === 0) { +if (stripos($text, "cerca") === 0) { $searchquery = substr($text, 6); $url = "https://www.lealternative.net?s=".$searchquery.""; $content = array(