From ee727904f7e4d737bd5fa995196832838a7794c0 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Sun, 6 Feb 2022 11:59:36 +0700 Subject: [PATCH] none --- program/start.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/program/start.py b/program/start.py index 0998e05..b4a75ba 100644 --- a/program/start.py +++ b/program/start.py @@ -59,7 +59,7 @@ async def _human_time_duration(seconds): async def start_(c: Client, message: Message): user_id = message.from_user.id if await is_gbanned_user(user_id): - await message.reply_text(f"❗️ **You've been blocked from using this bot!") + await message.reply_text("❗️ **You've been blocked from using this bot!") return await message.reply_text( f"""✨ **Welcome {message.from_user.mention()} !**\n @@ -107,7 +107,7 @@ async def start_(c: Client, message: Message): async def alive(c: Client, message: Message): user_id = message.from_user.id if await is_gbanned_user(user_id): - await message.reply_text(f"❗️ **You've been blocked from using this bot!") + await message.reply_text("❗️ **You've been blocked from using this bot!") return chat_id = message.chat.id current_time = datetime.utcnow() @@ -139,7 +139,7 @@ async def alive(c: Client, message: Message): async def ping_pong(c: Client, message: Message): user_id = message.from_user.id if await is_gbanned_user(user_id): - await message.reply_text(f"❗️ **You've been blocked from using this bot!") + await message.reply_text("❗️ **You've been blocked from using this bot!") return start = time() m_reply = await message.reply_text("pinging...") @@ -151,7 +151,7 @@ async def ping_pong(c: Client, message: Message): async def get_uptime(c: Client, message: Message): user_id = message.from_user.id if await is_gbanned_user(user_id): - await message.reply_text(f"❗️ **You've been blocked from using this bot!") + await message.reply_text("❗️ **You've been blocked from using this bot!") return current_time = datetime.utcnow() uptime_sec = (current_time - START_TIME).total_seconds()