Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 2 additions & 14 deletions plugins/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@
IST = pytz.timezone(Config.TIME_ZONE)
if Config.DATABASE_URI:
from utils import db

HOME_TEXT = "<b>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.</b>"
admin_filter=filters.create(is_admin)


@Client.on_message(filters.command(['start', f"start@{Config.BOT_USERNAME}"]))
async def start(client, message):
Expand Down Expand Up @@ -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])




Expand Down