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") - ] - ] - ) - ) - -