diff --git a/README.md b/README.md index 0f2dc549a..cb8667c45 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ ### Deploy -[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/MRK-YT/Pro-Auto-Filter-Bot) +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Filterbot4882/Pro-Auto-Filter-Bot.git) ## Configs diff --git a/app.json b/app.json index ca517acbb..296dd7705 100644 --- a/app.json +++ b/app.json @@ -8,7 +8,7 @@ "Mongo DB" ], "website": "https://github.com/MRK-YT", - "repository": "https://github.com/MRK-YT/Pro-Auto-Filter-Bot", + "repository": "https://github.com/Filterbot4882/Pro-Auto-Filter-Bot.git", "success_url": "https://telegram.dog/mo_tech_yt/26", "env": { "APP_ID": { diff --git a/bot/Filterbot4882 b/bot/Filterbot4882 new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/bot/Filterbot4882 @@ -0,0 +1 @@ + diff --git a/bot/plugins/auto_filter.py b/bot/plugins/auto_filter.py index 2e4b8e7cc..e07a100db 100644 --- a/bot/plugins/auto_filter.py +++ b/bot/plugins/auto_filter.py @@ -147,13 +147,13 @@ async def auto_filter(bot, update): if len_result != 1: result[0].append( [ - InlineKeyboardButton("Next ⏩", callback_data=f"navigate(0|next|{query})") + InlineKeyboardButton("Next ➑️", callback_data=f"navigate(0|next|{query})") ] ) # Just A Decaration result[0].append([ - InlineKeyboardButton(f"πŸ”° Page 1/{len_result if len_result < max_pages else max_pages} πŸ”°", callback_data="ignore") + InlineKeyboardButton(f"πŸ“ƒ Page 1/{len_result if len_result < max_pages else max_pages} πŸ“ƒ", callback_data="ignore") ]) diff --git a/bot/plugins/callback.py b/bot/plugins/callback.py index 57ca29774..11e00c9f8 100644 --- a/bot/plugins/callback.py +++ b/bot/plugins/callback.py @@ -1662,7 +1662,7 @@ async def callback_data(bot, update: CallbackQuery): elif query_data == "help": buttons = [[ - InlineKeyboardButton('Home ⚑', callback_data='start'), + InlineKeyboardButton('Home ⚑', callback_data='close'), InlineKeyboardButton('About 🚩', callback_data='about') ],[ InlineKeyboardButton('Close πŸ”', callback_data='close') @@ -1680,11 +1680,8 @@ async def callback_data(bot, update: CallbackQuery): elif query_data == "about": buttons = [[ - InlineKeyboardButton('πŸ‘€ @π™Όπš›πš”_πšˆπšƒ πŸ‘€', url='https://t.me/MRK_YT') - ],[ - InlineKeyboardButton('π™ΌπšŠπšœπšπšŽπš› @π™°πš•πš‹πšŽπš›πšπ™΄πš’πš—πšœπšπšŽπš’πš—πšƒπ™Ά', url='https://t.me/AlbertEinsteinTG') - ],[ - InlineKeyboardButton('🏠 π™·πš˜πš–πšŽ', callback_data='start'), + + InlineKeyboardButton('🏠 π™·πš˜πš–πšŽ', callback_data='close'), InlineKeyboardButton('π™²πš•πš˜πšœπšŽ πŸ”', callback_data='close') ]] diff --git a/bot/plugins/commands.py b/bot/plugins/commands.py index 9052c755f..fd492957c 100644 --- a/bot/plugins/commands.py +++ b/bot/plugins/commands.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# (c) @AlbertEinsteinTG & @Mrk_YT +# (c) @AlbertEinsteinTG from pyrogram import filters, Client from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup, CallbackQuery @@ -35,7 +35,7 @@ async def start(bot, update): [ InlineKeyboardButton ( - 'Developers', url="https://t.me/Mo_Tech_YT" + 'channel πŸ™ƒ', url="https://t.me/filmzone0" ) ] ] @@ -47,16 +47,11 @@ async def start(bot, update): return buttons = [[ - InlineKeyboardButton('πŸ‘¨β€πŸ’Ό π™ΌπšŠπšœπšπšŽπš›', url='https://t.me/MRK_YT'), - InlineKeyboardButton('π™·πšŽπš•πš™ πŸ€”', callback_data="help") - ],[ - InlineKeyboardButton('πŸ–₯️ πšƒπšžπšπš˜πš›πš’πšŠπš• πš…πš’πšπšŽπš˜ πŸ–₯️', url='https://youtu.be/uAHl5jvnrhk') - ],[ - InlineKeyboardButton('πŸ—£οΈ π™°πš—πš’ π™³πš˜πšžπš‹πš', url='https://t.me/Mo_Tech_group'), - InlineKeyboardButton('πš„πš™πšπšŠπšπšŽπšœ πŸ€–', url='https://t.me/Mo_Tech_YT') + + InlineKeyboardButton('channel 😊', url='https://t.me/filmzone0') ],[ - InlineKeyboardButton('πŸ’₯ πš‚πšžπš‹πšœπšŒπš›πš’πš‹πšŽ π™Όπš’ πšˆπš˜πšžπšƒπšžπš‹πšŽ π™²πš‘πšŠπš—πš—πšŽπš• πŸ’₯', url='https://youtube.com/channel/UCmGBpXoM-OEm-FacOccVKgQ') - ]] + InlineKeyboardButton('Help βš™', callback_data="help") + ]] reply_markup = InlineKeyboardMarkup(buttons) @@ -73,10 +68,9 @@ async def start(bot, update): @Client.on_message(filters.command(["help"]) & filters.private, group=1) async def help(bot, update): buttons = [[ - InlineKeyboardButton('🏠 π™·πš˜πš–πšŽ', callback_data='start'), - InlineKeyboardButton('π™°πš‹πš˜πšžπš 🚩', callback_data='about') + InlineKeyboardButton('About 🚩', callback_data='about'), ],[ - InlineKeyboardButton('πŸ” π™²πš•πš˜πšœπšŽ πŸ”', callback_data='close') + InlineKeyboardButton('Close πŸ”', callback_data='close') ]] reply_markup = InlineKeyboardMarkup(buttons) @@ -94,12 +88,8 @@ async def help(bot, update): async def about(bot, update): buttons = [[ - InlineKeyboardButton('πŸ‘€ @π™Όπš›πš”_πšˆπšƒ πŸ‘€', url='https://t.me/MRK_YT') - ],[ - InlineKeyboardButton('πŸ‘€ @π™°πš•πš‹πšŽπš›πšπ™΄πš’πš—πšœπšπšŽπš’πš—πšƒπ™Ά πŸ‘€', url='https://t.me/AlbertEinsteinTG') - ],[ - InlineKeyboardButton('🏠 π™·πš˜πš–πšŽ', callback_data='start'), - InlineKeyboardButton('π™²πš•πš˜πšœπšŽ πŸ”', callback_data='close') + + InlineKeyboardButton('Close πŸ”', callback_data='close'), ]] reply_markup = InlineKeyboardMarkup(buttons) diff --git a/bot/translation.py b/bot/translation.py index 4a4b77087..326305c99 100644 --- a/bot/translation.py +++ b/bot/translation.py @@ -1,63 +1,27 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# (c) @AlbertEinsteinTG & @MRK_YT +# (c) @AlbertEinsteinTG class Translation(object): - START_TEXT = """πŸ™‹β€β™‚οΈHey {}!! - -Am Just A Pro Auto Filter Bot....πŸ˜‰ - -Just Add Me To Your Group And Channel And Connect Them And See My Pevers πŸ”₯πŸ”₯😝 - -Watch the video below to build an Pro Autofilter bot like me... - -Subscribe to the update channel to learn about my updates and activity... - -Press /help to know about available commandsπŸ€ͺ""" - - HELP_TEXT = """ -πŸ˜‰How To Use Me!πŸ˜‰? - - --> Add Me To Any Group And Make Me Admin --> Add Me To Your Desired Channel - - -Bot Commands (Works Only In Groups) : - - -> /add chat_id - OR - To Connect A Group With A Channel (Bot Should Be Admin With Full Previlages In Both Group And Channel) - /add @Username - - -> /del chat_id - OR - To disconnect A Group With A Channel - /del @Username + START_TEXT = """Hey {}!! + Don't ask film here❗ + Im assistant manager of Flim zone group + You can ask them Films in the Group🎦 + + Thankyou 😊 +""" - -> /delall - This Command Will Disconnect All Connected Channel With The Group And Deletes All Its File From DB - - -> /settings - This Command Will Display You A Settings Pannel Instance Which Can Be Used To Tweek Bot's Settings Accordingly - - -> Channel - Button Will Show You All The Connected Chats With The Group And Will Show Buttons Correspnding To There Order For Furthur Controls - - -> Filter Types - Button Will Show You The 3 Filter Option Available In Bot... Pressing Each Buttons Will Either Enable or Disable Them And This Will Take Into Action As Soon As You Use Them Without The Need Of A Restart + HELP_TEXT = """ + Hi how are you? πŸ₯° +""" - -> Configure - Button Will Helps You To Change No. of Pages/ Buttons Per Page/ Total Result Without Acutally Editing The Repo... Also It Provide Option To Enable/Disable For Showing Invite Link In Each Results - - -> Status - Button Will Shows The Stats Of Your Channel - -MoTechYT -""" + ABOUT_TEXT = """βž₯ Name : Auto Filter Bot - ABOUT_TEXT = """βž₯ πŸ“ƒName : Pro Auto Filter Bot - -βž₯ 😎Creator : @AlbertEinstein_TG - -βž₯ πŸ‘¨β€πŸ’»Editor : @Mrk_YT +βž₯ Creator : @jasimmhd -βž₯ πŸ—£οΈLanguage : Python3 +βž₯ Language : Python3 -βž₯ πŸ“šLibrary : Pyrogram Asyncio 1.13.0 +βž₯ Library : @filmzone0 -βž₯ πŸ“–Source Code : πŸ’₯Click Me """