improve selfupdate

This commit is contained in:
mercury
2024-10-23 02:32:19 +04:00
parent bba1ec9e17
commit 4c63ae669a
3 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -1456,8 +1456,10 @@ class Bot
$this->update($this->input['chat'], $this->input['message_id'], implode("\n", $out));
$this->language = $this->getPacConf()['language'] ?: 'en';
$this->limit = $this->getPacConf()['limitpage'] ?: 5;
sleep(3);
$this->menu();
if (empty($file)) {
sleep(3);
$this->menu();
}
}
}