From 35a1d8ce096c18339fde30c325dae62c33ba23a4 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Sat, 12 Feb 2022 02:58:29 +0700 Subject: [PATCH] none --- program/updater.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/updater.py b/program/updater.py index 7bc7917..b8633fc 100644 --- a/program/updater.py +++ b/program/updater.py @@ -65,7 +65,7 @@ async def update_bot(_, message: Message): msg = await message.reply("❖ Checking updates...") update_avail = updater() if update_avail: - await msg.edit("✅ Update finished !\n\n• Bot restarting, back active again in 1-2 minutes.") + await msg.edit("✅ Update finished !\n\n• Bot restarting, back active again in 1 minutes.") system("git pull -f && pip3 install --no-cache-dir -r requirements.txt") execle(sys.executable, sys.executable, "main.py", environ) return @@ -77,6 +77,6 @@ async def update_bot(_, message: Message): async def restart_bot(_, message: Message): msg = await message.reply("❖ Restarting bot...") args = [sys.executable, "main.py"] - await msg.edit("✅ Bot restarted !\n\n• wait until 1-2 minutes after bot Rebooted.") + await msg.edit("✅ Bot restarted !\n\n• wait until 1 minutes after bot Rebooted.") execle(sys.executable, *args, environ) return