mirror of
https://github.com/danog/AltervistaUserBot.git
synced 2024-12-02 09:17:48 +01:00
Merge
This commit is contained in:
commit
e45c12ac5e
10
updates.php
10
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,'<code>'.$e.'</code>');
|
||||
} catch(Exception $e) { }
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($update['update']['message']['to_id']['user_id'])) {
|
||||
$chatID = $update['update']['message']['from_id'];
|
||||
|
Loading…
Reference in New Issue
Block a user