notify start
This commit is contained in:
@@ -11,3 +11,9 @@ $bot = new Bot($c['key'], $i);
|
||||
$bot->setwebhook();
|
||||
$bot->setcommands();
|
||||
$bot->syncPortClients();
|
||||
if (!empty($c['admin'])) {
|
||||
$ip = getenv('IP');
|
||||
foreach ($c['admin'] as $k => $v) {
|
||||
$bot->send($v, "start $ip");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user