From 8a6c2293f6b0850a31a5c742032e45025b0ff9a0 Mon Sep 17 00:00:00 2001 From: Devilharsha <95213910+Devilharsha@users.noreply.github.com> Date: Wed, 15 Dec 2021 05:27:06 +0530 Subject: [PATCH] Update commands.py --- plugins/commands.py | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/plugins/commands.py b/plugins/commands.py index 9989ce9..61e7d47 100644 --- a/plugins/commands.py +++ b/plugins/commands.py @@ -52,9 +52,7 @@ IST = pytz.timezone(Config.TIME_ZONE) if Config.DATABASE_URI: from utils import db - -HOME_TEXT = "Hey [{}](tg://user?id={}) 🙋‍♂️\n\nIam A Bot Built To Play or Stream Videos In Telegram VoiceChats.\nI Can Stream Any YouTube Video Or A Telegram File Or Even A YouTube Live." -admin_filter=filters.create(is_admin) + @Client.on_message(filters.command(['start', f"start@{Config.BOT_USERNAME}"])) async def start(client, message): @@ -129,17 +127,7 @@ async def start(client, message): return buttons = [ [ - InlineKeyboardButton('⚠️ Channel', url='https://t.me/shukurenai007'), - InlineKeyboardButton('Source ⚠️', url='https://github.com/shukurenaibotcreate/VCVideoPlayerBot') - ], - [ - InlineKeyboardButton('🧑‍🚒 Help', callback_data='help_main'), - InlineKeyboardButton('Close ❌', callback_data='close'), - ] - ] - reply_markup = InlineKeyboardMarkup(buttons) - k = await message.reply(HOME_TEXT.format(message.from_user.first_name, message.from_user.id), reply_markup=reply_markup) - await delete_messages([message, k]) +