From 5c08079531f463d4461e3541837624a8ea276db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Flora=20=ED=9D=A5=EB=B6=84=ED=95=9C?= <106656839+HornyFlora@users.noreply.github.com> Date: Tue, 23 Apr 2024 20:43:29 +0530 Subject: [PATCH] Update __main__.py --- VegetaRobot/__main__.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/VegetaRobot/__main__.py b/VegetaRobot/__main__.py index 61422db..fa71684 100644 --- a/VegetaRobot/__main__.py +++ b/VegetaRobot/__main__.py @@ -249,16 +249,11 @@ def start(update: Update, context: CallbackContext): context.bot.send_photo( chat_id=update.effective_chat.id, photo=random.choice(VEGETA_IMG), - caption=' *Hello 💤, {}*'.format(update.effective_user.first_name) + caption="*Hello 💤, {}*".format(update.effective_user.first_name) ) time.sleep(3) context.bot.send_message( - chat_id=update.effective_chat.id, - PM_START_TEXT, - reply_markup=InlineKeyboardMarkup(buttons), - parse_mode=ParseMode.MARKDOWN, - timeout=60, - ) + chat_id=update.effective_chat.id, text=PM_START_TEXT, reply_markup=InlineKeyboardMarkup(buttons), parse_mode=ParseMode.MARKDOWN, timeout=60) else: first_name = update.effective_user.first_name update.effective_message.reply_animation(