Update Telegram bot

This commit is contained in:
Matteo Gheza 2022-01-07 22:09:57 +01:00
parent 28856a32a2
commit f9d84aaa9d
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ function telegramBotRouter() {
if(count(explode(" ", $message->text)) > 2) return;
$available_users_count = $db->selectValue("SELECT COUNT(id) FROM `".DB_PREFIX."_profiles` WHERE `available` = 1 AND `hidden` = 0");
if($available_users_count >= 5) {
$message->reply(" Distaccamento operativo con squadra completa");
$message->reply("🚒 Distaccamento operativo con squadra completa");
} else if($available_users_count >= 2) {
$message->reply("🧯 Distaccamento operativo per supporto");
} else if($available_users_count >= 0) {