From 8cf28804c10d98039a09c603a835bbb3d499b658 Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:23:09 +0530 Subject: [PATCH 01/19] Update mdb.py --- database/mdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/mdb.py b/database/mdb.py index 00d9c1da..e02ee65a 100644 --- a/database/mdb.py +++ b/database/mdb.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# @trojanzhex +# @KicchaRequest import re From b3e81fb37524728117176e3627e81bb700cd6455 Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:24:47 +0530 Subject: [PATCH 02/19] Update channel.py --- plugins/channel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/channel.py b/plugins/channel.py index 7cb8bc77..eccdb529 100644 --- a/plugins/channel.py +++ b/plugins/channel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# @trojanzhex +# @KicchaRequest import re @@ -38,7 +38,7 @@ async def addchannel(client: Bot, message: Message): await message.reply_text( "Enter in correct format!\n\n/add channelid or\n" "/add @channelusername" - "\n\nGet Channel id from @ChannelidHEXbot", + "\n\nGet Channel id from @GD_FILMCLUB", ) return try: From 0eed2240fc2ede5e08e18124d87ebe7661bf6a11 Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:25:58 +0530 Subject: [PATCH 03/19] Update commands.py --- plugins/commands.py | 120 ++++++++++++++++++-------------------------- 1 file changed, 50 insertions(+), 70 deletions(-) diff --git a/plugins/commands.py b/plugins/commands.py index 10bdf930..095f83bc 100644 --- a/plugins/commands.py +++ b/plugins/commands.py @@ -1,78 +1,58 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# @trojanzhex +# (c) @KicchaRequest +class Translation(object): + + START_TEXT = """Hey {}!! +Am Just A Kiccha Auto Filter Bot....😉 -from pyrogram import Client, filters -from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton -from script import script +Just Add Me To Your Group And Channel And Connect Them And See My Pevers 🔥🔥😝 +For More Details Click Help Button Below.. +@KicchaRequest +""" + + HELP_TEXT = """ +How To Use Me!? -@Client.on_message(filters.command(["start"]) & filters.private) -async def start(client, message): - try: - await message.reply_text( - text=script.START_MSG.format(message.from_user.mention), - disable_web_page_preview=True, - reply_markup=InlineKeyboardMarkup( - [ - [ - InlineKeyboardButton("HELP", callback_data="help_data"), - InlineKeyboardButton("ABOUT", callback_data="about_data"), - ], - [ - InlineKeyboardButton( - "⭕️ JOIN OUR CHANNEL ⭕️", url="https://t.me/TroJanzHEX") - ] - ] - ), - reply_to_message_id=message.message_id - ) - except: - pass + +-> Add Me To Any Group And Make Me Admin +-> Add Me To Your Desired Channel + -@Client.on_message(filters.command(["help"]) & filters.private) -async def help(client, message): - try: - await message.reply_text( - text=script.HELP_MSG, - disable_web_page_preview=True, - reply_markup=InlineKeyboardMarkup( - [ - [ - InlineKeyboardButton("BACK", callback_data="start_data"), - InlineKeyboardButton("ABOUT", callback_data="about_data"), - ], - [ - InlineKeyboardButton( - "⭕️ SUPPORT ⭕️", url="https://t.me/TroJanzSupport") - ] - ] - ), - reply_to_message_id=message.message_id - ) - except: - pass +Bot Commands (Works Only In Groups) : -@Client.on_message(filters.command(["about"]) & filters.private) -async def about(client, message): - try: - await message.reply_text( - text=script.ABOUT_MSG, - disable_web_page_preview=True, - reply_markup=InlineKeyboardMarkup( - [ - [ - InlineKeyboardButton("BACK", callback_data="help_data"), - InlineKeyboardButton("START", callback_data="start_data"), - ], - [ - InlineKeyboardButton( - "SOURCE CODE", url="https://github.com/TroJanzHEX/Auto-Filter-Bot-V2") - ] - ] - ), - reply_to_message_id=message.message_id - ) - except: - pass \ No newline at end of file + -> /kicchaadd chat_id + OR - To Connect A Group With A Channel (Bot Should Be Admin With Full Previlages In Both Group And Channel) + /kicchaadd @Username + + -> /kicchadel chat_id + OR - To disconnect A Group With A Channel + /kicchadel @Username + + -> /kicchadelall - 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 + + -> 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 + +@KicchaRequest +""" + + ABOUT_TEXT = """➥ Name : Auto Filter Bot + +➥ Creator : Sachin_S + +➥ Language : Python3 + +➥ Library : Pyrogram Asyncio 1.13.0 + +➥ Source Code : Click Me +""" From fe624390fde7fdb732e02d6b84d91632048ba3ee Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:26:39 +0530 Subject: [PATCH 04/19] Update filters.py --- plugins/filters.py | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/plugins/filters.py b/plugins/filters.py index c05e0610..4b6e55dc 100644 --- a/plugins/filters.py +++ b/plugins/filters.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# @trojanzhex +# @KicchaRequest import re @@ -62,7 +62,9 @@ async def filter(client: Bot, message: Message): [InlineKeyboardButton(text="📃 Pages 1/1",callback_data="pages")] ) await message.reply_text( - f" Here is the result for {message.text}", + f" 🎬 Title : +🎞 Year : +💿 Quality : {message.text}", reply_markup=InlineKeyboardMarkup(buttons) ) return @@ -71,14 +73,16 @@ async def filter(client: Bot, message: Message): buttons = data['buttons'][0].copy() buttons.append( - [InlineKeyboardButton(text="NEXT ⏩",callback_data=f"next_0_{keyword}")] + [InlineKeyboardButton(text="🎸 NEXT 🎸",callback_data=f"next_0_{keyword}")] ) buttons.append( - [InlineKeyboardButton(text=f"📃 Pages 1/{data['total']}",callback_data="pages")] + [InlineKeyboardButton(text=f"🎶 Pages 1/{data['total']}",callback_data="pages")] ) await message.reply_text( - f" Here is the result for {message.text}", + f" 🎬 Title : +🎞 Year : +💿 Quality : {message.text}", reply_markup=InlineKeyboardMarkup(buttons) ) @@ -99,10 +103,10 @@ async def cb_handler(client: Bot, query: CallbackQuery): buttons = data['buttons'][int(index)+1].copy() buttons.append( - [InlineKeyboardButton("⏪ BACK", callback_data=f"back_{int(index)+1}_{keyword}")] + [InlineKeyboardButton("🎵 BACK 🎵", callback_data=f"back_{int(index)+1}_{keyword}")] ) buttons.append( - [InlineKeyboardButton(f"📃 Pages {int(index)+2}/{data['total']}", callback_data="pages")] + [InlineKeyboardButton(f"🎶 Pages {int(index)+2}/{data['total']}", callback_data="pages")] ) await query.edit_message_reply_markup( @@ -113,10 +117,10 @@ async def cb_handler(client: Bot, query: CallbackQuery): buttons = data['buttons'][int(index)+1].copy() buttons.append( - [InlineKeyboardButton("⏪ BACK", callback_data=f"back_{int(index)+1}_{keyword}"),InlineKeyboardButton("NEXT ⏩", callback_data=f"next_{int(index)+1}_{keyword}")] + [InlineKeyboardButton("🎵 BACK 🎵", callback_data=f"back_{int(index)+1}_{keyword}"),InlineKeyboardButton("🎸 NEXT 🎸", callback_data=f"next_{int(index)+1}_{keyword}")] ) buttons.append( - [InlineKeyboardButton(f"📃 Pages {int(index)+2}/{data['total']}", callback_data="pages")] + [InlineKeyboardButton(f"🎶 Pages {int(index)+2}/{data['total']}", callback_data="pages")] ) await query.edit_message_reply_markup( @@ -134,10 +138,10 @@ async def cb_handler(client: Bot, query: CallbackQuery): buttons = data['buttons'][int(index)-1].copy() buttons.append( - [InlineKeyboardButton("NEXT ⏩", callback_data=f"next_{int(index)-1}_{keyword}")] + [InlineKeyboardButton("🎸 NEXT 🎸", callback_data=f"next_{int(index)-1}_{keyword}")] ) buttons.append( - [InlineKeyboardButton(f"📃 Pages {int(index)}/{data['total']}", callback_data="pages")] + [InlineKeyboardButton(f"🎶 Pages {int(index)}/{data['total']}", callback_data="pages")] ) await query.edit_message_reply_markup( @@ -148,10 +152,10 @@ async def cb_handler(client: Bot, query: CallbackQuery): buttons = data['buttons'][int(index)-1].copy() buttons.append( - [InlineKeyboardButton("⏪ BACK", callback_data=f"back_{int(index)-1}_{keyword}"),InlineKeyboardButton("NEXT ⏩", callback_data=f"next_{int(index)-1}_{keyword}")] + [InlineKeyboardButton("🎵 BACK 🎵", callback_data=f"back_{int(index)-1}_{keyword}"),InlineKeyboardButton("🎸 NEXT 🎸", callback_data=f"next_{int(index)-1}_{keyword}")] ) buttons.append( - [InlineKeyboardButton(f"📃 Pages {int(index)}/{data['total']}", callback_data="pages")] + [InlineKeyboardButton(f"🎶 Pages {int(index)}/{data['total']}", callback_data="pages")] ) await query.edit_message_reply_markup( @@ -167,9 +171,9 @@ async def cb_handler(client: Bot, query: CallbackQuery): elif query.data == "start_data": await query.answer() keyboard = InlineKeyboardMarkup([ - [InlineKeyboardButton("HELP", callback_data="help_data"), - InlineKeyboardButton("ABOUT", callback_data="about_data")], - [InlineKeyboardButton("⭕️ JOIN OUR CHANNEL ⭕️", url="https://t.me/TroJanzHEX")] + [InlineKeyboardButton("⚚ HELP", callback_data="help_data"), + InlineKeyboardButton("ABOUT ⚚", callback_data="about_data")], + [InlineKeyboardButton("꧁ JOIN OUR CHANNEL ꧂", url="https://t.me/ROCKHDMOVIES2021")] ]) await query.message.edit_text( @@ -184,7 +188,7 @@ async def cb_handler(client: Bot, query: CallbackQuery): keyboard = InlineKeyboardMarkup([ [InlineKeyboardButton("BACK", callback_data="start_data"), InlineKeyboardButton("ABOUT", callback_data="about_data")], - [InlineKeyboardButton("⭕️ SUPPORT ⭕️", url="https://t.me/TroJanzSupport")] + [InlineKeyboardButton("〠 SUPPORT 〠", url="https://t.me/KicchaRequest")] ]) await query.message.edit_text( @@ -199,7 +203,7 @@ async def cb_handler(client: Bot, query: CallbackQuery): keyboard = InlineKeyboardMarkup([ [InlineKeyboardButton("BACK", callback_data="help_data"), InlineKeyboardButton("START", callback_data="start_data")], - [InlineKeyboardButton("SOURCE CODE", url="https://github.com/TroJanzHEX/Auto-Filter-Bot-V2")] + [InlineKeyboardButton("SOURCE CODE", url="https://t.me/KicchaRequest")] ]) await query.message.edit_text( From 3655a46864ea930770be206d219ce1e74c6f7a46 Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:37:22 +0530 Subject: [PATCH 05/19] Update LICENSE --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index d467a123..d3a7f040 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 TroJanzHEX +Copyright (c) 2021 KicchaRequest Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal From 55dc514fba8582ef1dc3e714a949ea52d27ffd7a Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:44:13 +0530 Subject: [PATCH 06/19] Update README.md --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 258d70b3..908cf0f3 100644 --- a/README.md +++ b/README.md @@ -7,29 +7,29 @@

- - + + - - + +

-[![TroJanz](https://img.shields.io/badge/TroJanzHEX-Channel-orange?style=for-the-badge&logo=telegram)](https://telegram.dog/TroJanzHEX) +[![sachin9742s](https://img.shields.io/badge/-Channel-orange?style=for-the-badge&logo=telegram)](https://telegram.dog/sachin9742s) ㅤㅤㅤㅤㅤㅤㅤ -[![TroJanz](https://img.shields.io/badge/TroJanzHEX-Support-red?style=flat&logo=telegram)](https://telegram.dog/TroJanzSupport) [![TroJanz](https://img.shields.io/badge/TroJanzHEX-Website-red?style=flat&logo=CodersRank)](https://TroJanzHEX.me) +[![sachin9742s](https://img.shields.io/badge/sachin9742s-Support-red?style=flat&logo=telegram)](https://telegram.dog/KicchaRequest) [![sachin9742s](https://img.shields.io/badge/sachin9742s-Website-red?style=flat&logo=CodersRank)](https://sachin9742s.me) ㅤㅤㅤㅤㅤㅤㅤ -[![MIT license](https://img.shields.io/badge/License-MIT-blue?style=flat)](https://github.com/TroJanzHEX/Auto-Filter-Bot-V2/blob/main/LICENSE) [![Open Source](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/TroJanzHEX/Auto-Filter-Bot-V2) +[![MIT license](https://img.shields.io/badge/License-MIT-blue?style=flat)](https://github.com/sachin9742s/Auto-Filter-Bot-V2/blob/main/LICENSE) [![Open Source](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/sachin9742s/Auto-Filter-Bot-V2) #### You can call this as an Auto Filter Bot if you like :D -#### This is Version 2 of [Auto Filter Bot](https://github.com/TroJanzHEX/Auto-Filter-Bot) +#### This is Version 2 of [Auto Filter Bot](https://github.com/sachin9742s/Auto-Filter-Bot) #### Bot simply search for the files from provided channel according to given query and gives link to those files as buttons! ## How to use the bot @@ -63,19 +63,19 @@ or [Click here to see tutorial video](https://youtu.be/zum9AUlOgtQ) -Thanks to [InfotelGroup](https://telegram.dog/InFoTelGroup) and [Erich Daniken](https://telegram.dog/ErichDaniken) for the video +Thanks to [KicchaRequest](https://telegram.dog/KicchaRequest) and [Sachin S](https://telegram.dog/sachin_official_admin) for the video -## Any bugs or errors or suggestions, report at [TroJanzSupport](https://telegram.dog/TroJanzSupport) +## Any bugs or errors or suggestions, report at [KicchaRequest](https://telegram.dog/KicchaRequest) ## Installation ### Deploy to Heroku -[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/TroJanzHEX/Auto-Filter-Bot-V2) +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/sachin9742s/Auto-Filter-Bot-V2) ### Deploy in your vps ```sh -git clone https://github.com/TroJanzHEX/Auto-Filter-Bot-V2 +git clone https://github.com/sachin9742s/Auto-Filter-Bot-V2 cd Auto-Filter-Bot-V2 pip3 install -r requirements.txt # @@ -108,4 +108,4 @@ python3 main.py [![TroJanz](https://img.shields.io/badge/Pyrogram%20-%23F37626.svg?&style=for-the-badge&logo=telegram&logoColor=white)](https://github.com/pyrogram/pyrogram) -And as always, [SpEcHlDe](https://telegram.dog/SpEcHlDe) +And as always, [KicchaRequest](https://telegram.dog/KicchaRequest) From 42e61525bc1a35c55c97c6b7258fe633cac0acc7 Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:45:59 +0530 Subject: [PATCH 07/19] Update app.json --- app.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app.json b/app.json index ef655654..dd028954 100644 --- a/app.json +++ b/app.json @@ -1,16 +1,16 @@ { "name": "Auto Filter Bot", "description": "Kind of a filter bot where you don't have to add filters manually.", - "logo": "https://telegra.ph/file/71aaa621508cd696ab538.jpg", + "logo": "https://telegra.ph/file/37a348385e6aa444aafb3.jpg", "keywords": [ "Auto", "Filter", "Telegram Bot", - "TroJanzHEX" + "sachin9742s" ], - "website": "https://TroJanzHEX.me", - "repository": "https://github.com/TroJanzHEX/Auto-Filter-Bot-V2", - "success_url": "https://telegram.dog/TroJanzHEX", + "website": "https://sachin9742s.me", + "repository": "https://github.com/sachin9742s/Auto-Filter-Bot-V2", + "success_url": "https://telegram.dog/KicchaRequest", "env": { "TG_BOT_TOKEN": { "description": "You Telegram Bot Token from @BotFather", @@ -64,4 +64,4 @@ "size": "free" } } -} \ No newline at end of file +} From d351afee28493b640b21f7738b0e637847d80ba1 Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:46:44 +0530 Subject: [PATCH 08/19] Update bot.py --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 45b672f9..f26903d2 100644 --- a/bot.py +++ b/bot.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# @trojanzhex +# @sachin9742s from pyrogram import ( From 7632a56374086ad48301ac8ab26b6212e3f530e6 Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:47:39 +0530 Subject: [PATCH 09/19] Update main.py --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 79d0c93b..b1aeb10d 100644 --- a/main.py +++ b/main.py @@ -1,8 +1,8 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# @trojanzhex +# @sachin9742s from bot import Bot -Bot().run() \ No newline at end of file +Bot().run() From db6d20bf4396d1cc7923d502707539acb993aaca Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:49:52 +0530 Subject: [PATCH 10/19] Update script.py --- script.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/script.py b/script.py index 63671648..a34f08b3 100644 --- a/script.py +++ b/script.py @@ -58,12 +58,10 @@ class script(object): ABOUT_MSG = """⭕️My Name : Auto Filter Bot V2 -⭕️Creater : @TroJanzHEX +⭕️Creater : @sachin_official_admin ⭕️Language : Python3 -⭕️Library : Pyrogram 1.0.7 - -⭕️Tutorial Video : Video Link +⭕️Library : Pyrogram 1.0.7 """ From 49369ed074e388be77e3737d76660f900075cb47 Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:50:18 +0530 Subject: [PATCH 11/19] Update user.py --- user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.py b/user.py index 5d13fb45..9247ddb1 100644 --- a/user.py +++ b/user.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# @trojanzhex +# @sachin9742s from pyrogram import ( From 635aba0db64efb239f3b8be6c8505505ed2bd69b Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:50:57 +0530 Subject: [PATCH 12/19] Update mdb.py --- database/mdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/mdb.py b/database/mdb.py index e02ee65a..9255dbf0 100644 --- a/database/mdb.py +++ b/database/mdb.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# @KicchaRequest +# @sachin9742s import re From 33a0c7ef397deea2abf74fa0c403e38590c8e937 Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:52:18 +0530 Subject: [PATCH 13/19] Update channel.py --- plugins/channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channel.py b/plugins/channel.py index eccdb529..7e62e8a9 100644 --- a/plugins/channel.py +++ b/plugins/channel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# @KicchaRequest +# @sachin9742s import re From 7112f5f818b99571fcd71903f7e2c9c18795ab54 Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:53:54 +0530 Subject: [PATCH 14/19] Update commands.py --- plugins/commands.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/commands.py b/plugins/commands.py index 095f83bc..74ad2361 100644 --- a/plugins/commands.py +++ b/plugins/commands.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# (c) @KicchaRequest +# (c) @sachin9742s class Translation(object): @@ -23,15 +23,15 @@ class Translation(object): Bot Commands (Works Only In Groups) : - -> /kicchaadd chat_id + -> /add chat_id OR - To Connect A Group With A Channel (Bot Should Be Admin With Full Previlages In Both Group And Channel) - /kicchaadd @Username + /add @Username - -> /kicchadel chat_id + -> /del chat_id OR - To disconnect A Group With A Channel - /kicchadel @Username + /del @Username - -> /kicchadelall - This Command Will Disconnect All Connected Channel With The Group And Deletes All Its File From DB + -> /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 @@ -43,7 +43,7 @@ class Translation(object): -> Status - Button Will Shows The Stats Of Your Channel -@KicchaRequest +@sachin9742s """ ABOUT_TEXT = """➥ Name : Auto Filter Bot From 27796645eca43349375704d2b869f7617ba37e9e Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:57:19 +0530 Subject: [PATCH 15/19] Update filters.py --- plugins/filters.py | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/plugins/filters.py b/plugins/filters.py index 4b6e55dc..2d76a081 100644 --- a/plugins/filters.py +++ b/plugins/filters.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -# @KicchaRequest +# @sachin9742s import re @@ -59,12 +59,10 @@ async def filter(client: Bot, message: Message): else: buttons = btn buttons.append( - [InlineKeyboardButton(text="📃 Pages 1/1",callback_data="pages")] + [InlineKeyboardButton(text="🎶 Pages 1/1 🎶",callback_data="pages")] ) await message.reply_text( - f" 🎬 Title : -🎞 Year : -💿 Quality : {message.text}", + f" 🎬 Title : {message.text}", reply_markup=InlineKeyboardMarkup(buttons) ) return @@ -80,9 +78,7 @@ async def filter(client: Bot, message: Message): ) await message.reply_text( - f" 🎬 Title : -🎞 Year : -💿 Quality : {message.text}", + f" 🎬 Title : {message.text}", reply_markup=InlineKeyboardMarkup(buttons) ) From c3cf2a66413c9aaf6ee2a58ace77a161896929c1 Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sat, 17 Jul 2021 23:58:14 +0530 Subject: [PATCH 16/19] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 908cf0f3..6ecf5c6f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Auto Filter Bot V2 +# Kiccha Filter Bot V2

From c52636a14c70bd0b24d054540686ac72e99c54d6 Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sun, 18 Jul 2021 11:30:59 +0530 Subject: [PATCH 17/19] Update filters.py --- plugins/filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/filters.py b/plugins/filters.py index 2d76a081..0254a49d 100644 --- a/plugins/filters.py +++ b/plugins/filters.py @@ -62,7 +62,7 @@ async def filter(client: Bot, message: Message): [InlineKeyboardButton(text="🎶 Pages 1/1 🎶",callback_data="pages")] ) await message.reply_text( - f" 🎬 Title : {message.text}", + f" Here is the result for {message.text}", reply_markup=InlineKeyboardMarkup(buttons) ) return @@ -78,7 +78,7 @@ async def filter(client: Bot, message: Message): ) await message.reply_text( - f" 🎬 Title : {message.text}", + f" Here is the result for {message.text}", reply_markup=InlineKeyboardMarkup(buttons) ) From 3f38741f99cb47ae2f41450b259b34f8e9929057 Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sun, 18 Jul 2021 16:47:35 +0530 Subject: [PATCH 18/19] Update filters.py --- plugins/filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/filters.py b/plugins/filters.py index 0254a49d..481fb8cc 100644 --- a/plugins/filters.py +++ b/plugins/filters.py @@ -62,7 +62,7 @@ async def filter(client: Bot, message: Message): [InlineKeyboardButton(text="🎶 Pages 1/1 🎶",callback_data="pages")] ) await message.reply_text( - f" Here is the result for {message.text}", + f"Here is the result for {message.text}", reply_markup=InlineKeyboardMarkup(buttons) ) return @@ -78,7 +78,7 @@ async def filter(client: Bot, message: Message): ) await message.reply_text( - f" Here is the result for {message.text}", + f"Here is the result for {message.text}", reply_markup=InlineKeyboardMarkup(buttons) ) From d4da833e225dc7182d36b10bcdb064dafa25d7ec Mon Sep 17 00:00:00 2001 From: Sachin S <86321236+sachin9742s@users.noreply.github.com> Date: Sun, 18 Jul 2021 17:12:10 +0530 Subject: [PATCH 19/19] Update filters.py --- plugins/filters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/filters.py b/plugins/filters.py index 481fb8cc..0254a49d 100644 --- a/plugins/filters.py +++ b/plugins/filters.py @@ -62,7 +62,7 @@ async def filter(client: Bot, message: Message): [InlineKeyboardButton(text="🎶 Pages 1/1 🎶",callback_data="pages")] ) await message.reply_text( - f"Here is the result for {message.text}", + f" Here is the result for {message.text}", reply_markup=InlineKeyboardMarkup(buttons) ) return @@ -78,7 +78,7 @@ async def filter(client: Bot, message: Message): ) await message.reply_text( - f"Here is the result for {message.text}", + f" Here is the result for {message.text}", reply_markup=InlineKeyboardMarkup(buttons) )