This commit is contained in:
Daniil Gentili 2018-03-27 17:06:44 +02:00
commit e45c12ac5e

View File

@ -44,7 +44,15 @@ try {
$type = "gruppo";
}
if (isset($update['update']['message']['from_id'])) $userID = $update['update']['message']['from_id'];
try {
require "_comandi.php";
} catch(Exception $e) {
if (isset($chatID)) {
try {
sm($chatID,'<code>'.$e.'</code>');
} catch(Exception $e) { }
}
}
if (isset($update['update']['message']['to_id']['user_id'])) {
$chatID = $update['update']['message']['from_id'];