diff --git a/updates.php b/updates.php index 32fc0fd..fd70709 100644 --- a/updates.php +++ b/updates.php @@ -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,''.$e.''); + } catch(Exception $e) { } + } + } if (isset($update['update']['message']['to_id']['user_id'])) { $chatID = $update['update']['message']['from_id'];