From 3813f43b92d81a8c7c796cb0d2ecde9d4bc79f5b Mon Sep 17 00:00:00 2001 From: mercury Date: Sat, 16 Nov 2024 00:45:30 +0400 Subject: [PATCH] update bot from notify --- app/bot.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/bot.php b/app/bot.php index daf4e57..52c597d 100644 --- a/app/bot.php +++ b/app/bot.php @@ -1293,9 +1293,13 @@ class Bot $this->send($v, implode("\n", $diff), 0, [ [ [ - 'text' => 'changelog', + 'text' => 'changelog', 'web_app' => ['url' => "https://raw.githubusercontent.com/mercurykd/vpnbot/$b/version"], - ] + ], + [ + 'text' => $this->i18n('update bot'), + 'callback_data' => "/applyupdatebot", + ], ] ]); }