From 1c77c329742c242321818bac5033d2ba9279485e Mon Sep 17 00:00:00 2001 From: Efsane2323 <106430183+Efsane2323@users.noreply.github.com> Date: Tue, 7 Jun 2022 14:19:02 +0300 Subject: [PATCH] Delete private.py --- handlers/private.py | 52 --------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 handlers/private.py diff --git a/handlers/private.py b/handlers/private.py deleted file mode 100644 index 3b82c87f..00000000 --- a/handlers/private.py +++ /dev/null @@ -1,52 +0,0 @@ -from pyrogram import Client, filters -from pyrogram.types import Message, InlineKeyboardMarkup, InlineKeyboardButton - -from config import BOT_NAME as bn -from helpers.filters import other_filters2 - - -@Client.on_message(other_filters2) -async def start(_, message: Message): - await message.reply_sticker("CAACAgQAAx0CTv65QgABBfJlYF6VCrGMm6OJ23AxHmD6qUSWESsAAhoQAAKm8XEeD5nrjz5IJFYeBA") - await message.reply_text( - f"""**Hey, I'm {bn} 🎵 - -I can play music in your group's voice call. Developed by [Jason](https://t.me/ImJanindu). - -Add me to your group and play music freely!** - """, - reply_markup=InlineKeyboardMarkup( - [ - [ - InlineKeyboardButton( - "🛠 Source Code 🛠", url="https://github.com/ImJanindu/GroupMusicBot") - ],[ - InlineKeyboardButton( - "💬 Group", url="https://t.me/InfinityBOTs_Support" - ), - InlineKeyboardButton( - "🔊 Channel", url="https://t.me/Infinity_BOTs" - ) - ],[ - InlineKeyboardButton( - "➕ Add To Your Group ➕", url="https://t.me/JEGroupMusicPlayerBot?startgroup=true" - )] - ] - ), - disable_web_page_preview=True - ) - -@Client.on_message(filters.command("start") & ~filters.private & ~filters.channel) -async def gstart(_, message: Message): - await message.reply_text("""**Group Music Player Online ✅**""", - reply_markup=InlineKeyboardMarkup( - [ - [ - InlineKeyboardButton( - "🔊 Channel", url="https://t.me/Infinity_BOTs") - ] - ] - ) - ) - -