improve selfupdate

This commit is contained in:
mercury
2024-10-23 23:56:50 +04:00
parent dee90b1f4f
commit 4f4777b5ef
+3 -2
View File
@@ -1803,8 +1803,9 @@ class Bot
$ip = getenv('IP');
$r = $this->send($c['admin'][0], "start $ip");
$this->input['chat'] = $c['admin'][0];
$this->input['message_id'] = $r['result']['message_id'];
$this->input['chat'] = $c['admin'][0];
$this->input['message_id'] = $r['result']['message_id'];
$this->input['callback_id'] = $r['result']['message_id'];
if (empty($p['domain'])) {
$this->addDomain(str_replace('.', '-', $this->ip) . '.nip.io', 1);
$this->setSSL('letsencrypt');