diff --git a/README.md b/README.md index 258d70b3..06465255 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Auto Filter Bot V2 +# đŊęĢęĢ áĨ´đŗęĢęĒđŊęĒŽđŗ ęĒŽá ģ ęĒęĒļęĒļ
@@ -71,7 +71,7 @@ Thanks to [InfotelGroup](https://telegram.dog/InFoTelGroup) and [Erich Daniken](
## Installation
### Deploy to Heroku
-[](https://heroku.com/deploy?template=https://github.com/TroJanzHEX/Auto-Filter-Bot-V2)
+[](https://heroku.com/deploy?template=https://github.com/ANKIT3690/Auto-Filter-Bot-V2)
### Deploy in your vps
```sh
diff --git a/app.json b/app.json
index ef655654..eae10818 100644
--- a/app.json
+++ b/app.json
@@ -46,11 +46,11 @@
},
"VID_SEARCH": {
"description": "Should bot search for video files in channels ( Give 'yes' or 'no' )",
- "value": "no"
+ "value": "yes"
},
"MUSIC_SEARCH": {
"description": "Should bot search for music files in channels ( Give 'yes' or 'no' )",
- "value": "no"
+ "value": "yes"
}
},
"buildpacks": [
@@ -64,4 +64,4 @@
"size": "free"
}
}
-}
\ No newline at end of file
+}
diff --git a/config.py b/config.py
index 6d89bddf..5cf148a5 100644
--- a/config.py
+++ b/config.py
@@ -29,10 +29,10 @@
DOC_SEARCH = os.environ.get("DOC_SEARCH", "yes").lower()
# Should bot search for video files in channels
-VID_SEARCH = os.environ.get("VID_SEARCH", "no").lower()
+VID_SEARCH = os.environ.get("VID_SEARCH", "yes").lower()
# Should bot search for music files in channels
-MUSIC_SEARCH = os.environ.get("MUSIC_SEARCH", "no").lower()
+MUSIC_SEARCH = os.environ.get("MUSIC_SEARCH", "yes").lower()
diff --git a/plugins/commands.py b/plugins/commands.py
index 10bdf930..c13dc236 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -22,7 +22,7 @@ async def start(client, message):
],
[
InlineKeyboardButton(
- "âī¸ JOIN OUR CHANNEL âī¸", url="https://t.me/TroJanzHEX")
+ "âī¸ JOIN OUR CHANNEL âī¸", url="https://t.me/defenderofthemultiverse")
]
]
),
@@ -45,7 +45,7 @@ async def help(client, message):
],
[
InlineKeyboardButton(
- "âī¸ SUPPORT âī¸", url="https://t.me/TroJanzSupport")
+ "âī¸ SUPPORT âī¸", url="https://t.me/thewarriorsreal")
]
]
),
@@ -68,11 +68,11 @@ async def about(client, message):
],
[
InlineKeyboardButton(
- "SOURCE CODE", url="https://github.com/TroJanzHEX/Auto-Filter-Bot-V2")
+ "SOURCE CODE", url="https://t.me/ANKIT3690")
]
]
),
reply_to_message_id=message.message_id
)
except:
- pass
\ No newline at end of file
+ pass
diff --git a/plugins/filters.py b/plugins/filters.py
index 8806b57b..a36e4228 100644
--- a/plugins/filters.py
+++ b/plugins/filters.py
@@ -28,8 +28,8 @@
@Client.on_message(filters.group & filters.text)
async def filter(client: Bot, message: Message):
- if re.findall("((^\/|^,|^!|^\.|^[\U0001F600-\U000E007F]).*)", message.text):
- return
+ #if re.findall("((^\/|^,|^!|^\.|^[\U0001F600-\U000E007F]).*)", message.text):
+ #return
if 2 < len(message.text) < 50:
btn = []
@@ -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} ęĒŽáęĒęĢđŗ: @ANKIT3690 & @Saurav3BV6SA9LLElon7Musk",
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} ęĒŽáęĒęĢđŗ: @ANKIT3690 & @Saurav3BV6SA9LLElon7Musk",
reply_markup=InlineKeyboardMarkup(buttons)
)
@@ -93,11 +93,7 @@ async def cb_handler(client: Bot, query: CallbackQuery):
if query.data.startswith("next"):
await query.answer()
ident, index, keyword = query.data.split("_")
- try:
- data = BUTTONS[keyword]
- except KeyError:
- await query.answer("You are using this for one of my old message, please send the request again.",show_alert=True)
- return
+ data = BUTTONS[keyword]
if int(index) == int(data["total"]) - 2:
buttons = data['buttons'][int(index)+1].copy()
@@ -132,11 +128,7 @@ async def cb_handler(client: Bot, query: CallbackQuery):
elif query.data.startswith("back"):
await query.answer()
ident, index, keyword = query.data.split("_")
- try:
- data = BUTTONS[keyword]
- except KeyError:
- await query.answer("You are using this for one of my old message, please send the request again.",show_alert=True)
- return
+ data = BUTTONS[keyword]
if int(index) == 1:
buttons = data['buttons'][int(index)-1].copy()
@@ -177,7 +169,7 @@ async def cb_handler(client: Bot, query: CallbackQuery):
keyboard = InlineKeyboardMarkup([
[InlineKeyboardButton("HELP", callback_data="help_data"),
InlineKeyboardButton("ABOUT", callback_data="about_data")],
- [InlineKeyboardButton("âī¸ JOIN OUR CHANNEL âī¸", url="https://t.me/TroJanzHEX")]
+ [InlineKeyboardButton("âī¸ JOIN OUR CHANNEL âī¸", url="https://t.me/defenderofthemultiverse")]
])
await query.message.edit_text(
@@ -192,7 +184,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("âī¸ JOIN OUR GROUP âī¸", url="https://t.me/thewarriorsreal")]
])
await query.message.edit_text(
@@ -207,7 +199,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("OWNER", url="https://t.me/ANKIT3690")]
])
await query.message.edit_text(
@@ -226,7 +218,7 @@ async def cb_handler(client: Bot, query: CallbackQuery):
await query.message.delete()
else:
- await query.answer("Thats not for you!!",show_alert=True)
+ await query.answer("OWNER: @ANKIT3690 &@Saurav3BV6SA9LLElon7Musk Thats not for you!! đ If you want it request it again",show_alert=True)
def split_list(l, n):
diff --git a/script.py b/script.py
index 63671648..53f097e2 100644
--- a/script.py
+++ b/script.py
@@ -1,17 +1,17 @@
class script(object):
- START_MSG = """ Hi {}
+ START_MSG = """ ęĢđ˛ {}
-You can call this as an Auto Filter Bot if you like :D
+đ.đ
-This is Version 2 of Auto Filter Bot
+đđ§ đđ§đĄđđ§đđđ đđŽđđ¨ đđĸđĨđđđĢ đđ¨đ đĻđđđ đđ˛ @ANKIT3690 & @Saurav3BV6SA9LLElon7Musk
-Bot gives button link to files in connected channels on query !
+đđ¨ đ§đđđ đđ¨ đ đĸđ¯đ đđ¨đĻđĻđđ§đđŦ
-No need to add filters for your files or movies from now on!
+đđ§đĨđ˛ đđ¨đĢđ¤đŦ đđ¨đĢ đĻđ˛ đđĢđđđđ¨đĢ
-For more click help"""
+đ
đ¨đĢ đĻđ¨đĢđ đđđđđĸđĨđŦ đđĨđĸđđ¤ đđđĨđ¨đ° How to use?"""
HELP_MSG = """How to use the bot??
@@ -53,17 +53,17 @@ class script(object):
Bot will automatically search for your files and give links to that!
-Š @TroJanzHEX"""
+Š @thewarriorsreal"""
- ABOUT_MSG = """âī¸My Name : Auto Filter Bot V2
+ ABOUT_MSG = """âī¸My Name : đŊęĢęĢ áĨ´đŗęĢęĒđŊęĒŽđŗ ęĒŽá ģ ęĒęĒļęĒļ
-âī¸Creater : @TroJanzHEX
+âī¸Creater : @ANKIT3690 & @Saurav3BV6SA9LLElon7Musk
âī¸Language : Python3
âī¸Library : Pyrogram 1.0.7
-âī¸Tutorial Video : Video Link
+âī¸đŗęĒŽđ˛ęĒ ęĒŽęĒđŗ á§đŗęĒŽęĒĪ : đŊęĢęĢ áĨ´đŗęĢęĒđŊęĒŽđŗ ęĒŽá ģ ęĒęĒļęĒļ
"""