Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
efb1ce9
Update README.md
Singhsawan Mar 11, 2023
42896ca
Update runtime.txt
Singhsawan Mar 11, 2023
e09aff7
Update README.md
Singhsawan Mar 11, 2023
2aac625
Update info.py
Singhsawan Mar 11, 2023
5df09a7
Update pm_filter.py
Singhsawan Mar 11, 2023
d2650f2
Update Script.py
Singhsawan Mar 11, 2023
3be4613
Update p_ttishow.py
Singhsawan Mar 11, 2023
7dbd137
Update commands.py
Singhsawan Mar 11, 2023
0f8fb37
Update info.py
Singhsawan Mar 11, 2023
fdcf724
Update info.py
Singhsawan Mar 18, 2023
dbaf726
Update start.sh
Singhsawan Mar 18, 2023
6d672a9
Update info.py
Singhsawan Apr 2, 2023
9c0aea6
Update info.py
Singhsawan Apr 2, 2023
b2424ea
Update app.json
Singhsawan Apr 2, 2023
9cb43a4
Update Procfile
Singhsawan Apr 2, 2023
865d1fe
Update info.py
Singhsawan Apr 9, 2023
901bb05
Update info.py
Singhsawan Apr 13, 2023
a85633d
Update info.py
Singhsawan Apr 14, 2023
12a9007
Update info.py
Singhsawan Jun 9, 2023
37f032a
Update pm_filter.py
Singhsawan Jun 9, 2023
f47cdfe
Create app.py
Singhsawan Jun 9, 2023
7951d6f
Update requirements.txt
Singhsawan Jun 9, 2023
6f52f9e
Update Procfile
Singhsawan Jun 9, 2023
c8e06ae
Update Script.py
Singhsawan Jun 9, 2023
f71df4e
Update commands.py
Singhsawan Jun 9, 2023
2fca38c
Update info.py
Singhsawan Jun 10, 2023
710c43c
Update info.py
Singhsawan Jun 10, 2023
9c33039
Update info.py
Singhsawan Jun 10, 2023
40daedf
Update info.py
Singhsawan Jun 10, 2023
8835c3f
Update Procfile
Singhsawan Jun 11, 2023
4d6f190
Update info.py
Singhsawan Jun 23, 2023
a0eb90f
Update info.py
Singhsawan Jun 23, 2023
8effb4c
Update info.py
Singhsawan Jun 23, 2023
63cc95d
Delete app.py
Singhsawan Jun 23, 2023
a667688
Update requirements.txt
Singhsawan Jun 23, 2023
cfce2db
Update info.py
Singhsawan Jul 4, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CYNITE/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ async def start(client, message):
buttons = [[
InlineKeyboardButton('ᴀᴅᴅ ᴍᴇ ᴛᴏ ʏᴏᴜʀ ɢʀᴏᴜᴘ', url=f'http://t.me/{temp.U_NAME}?startgroup=true')
],[
InlineKeyboardButton('ᴜᴘᴅᴀᴛᴇs', url='https://t.me/CyniteBackup'),
InlineKeyboardButton('sᴜᴘᴘᴏʀᴛ', url='https://t.me/CyniteSupport')
InlineKeyboardButton('ᴜᴘᴅᴀᴛᴇs', url='https://t.me/+4nzja42ELQwzOWVl'),
InlineKeyboardButton('sᴜᴘᴘᴏʀᴛ', url='https://t.me/New_Moviee_hindi')
]]
reply_markup = InlineKeyboardMarkup(buttons)
kd = await message.reply_photo(
Expand All @@ -50,7 +50,7 @@ async def start(client, message):
InlineKeyboardButton('ʜᴇʟᴘ', callback_data='help'),
InlineKeyboardButton('ᴀʙᴏᴜᴛ', callback_data='about'),
],[
InlineKeyboardButton('sᴜʙsᴄʀɪʙᴇ ᴏᴜʀ ʏᴛ ᴄʜᴀɴɴᴇʟ', url="https://youtube.com/@TechnicalCynite")
InlineKeyboardButton('sᴜʙsᴄʀɪʙᴇ ᴏᴜʀ ᴄʜᴀɴɴᴇʟ', url="https://t.me/+7jMuZDzlhZRjMDBl")
]]
reply_markup = InlineKeyboardMarkup(buttons)
await message.reply_photo(
Expand Down Expand Up @@ -97,7 +97,7 @@ async def start(client, message):
InlineKeyboardButton('ʜᴇʟᴘ', callback_data='help'),
InlineKeyboardButton('ᴀʙᴏᴜᴛ', callback_data='about'),
],[
InlineKeyboardButton('sᴜʙsᴄʀɪʙᴇ ᴏᴜʀ ʏᴛ ᴄʜᴀɴɴᴇʟ', url="https://youtube.com/@TechnicalCynite")
InlineKeyboardButton('sᴜʙsᴄʀɪʙᴇ ᴏᴜʀ ᴄʜᴀɴɴᴇʟ', url="https://t.me/+7jMuZDzlhZRjMDBl")
]]
reply_markup = InlineKeyboardMarkup(buttons)
await message.reply_photo(
Expand Down
4 changes: 2 additions & 2 deletions CYNITE/p_ttishow.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def save_group(bot, message):
return
buttons = [[
InlineKeyboardButton('ᴜᴘᴅᴀᴛᴇs', url=CHNL_LNK),
InlineKeyboardButton('ʀᴇᴘᴏʀᴛ ʜᴇʀᴇ', url=f"https://t.me/CyniteSupport")
InlineKeyboardButton('ʀᴇᴘᴏʀᴛ ʜᴇʀᴇ', url=f"https://t.me/VisionBackup")
]]
reply_markup=InlineKeyboardMarkup(buttons)
await message.reply_photo(
Expand All @@ -56,7 +56,7 @@ async def save_group(bot, message):
if settings["welcome"]:
for u in message.new_chat_members:
buttons = [[
InlineKeyboardButton("ɢʀᴏᴜᴘ📌", url="https://t.me/cynitesupport")
InlineKeyboardButton("ɢʀᴏᴜᴘ📌", url="https://t.me/VisionBackup")
]]
if (temp.MELCOW).get('welcome') is not None:
try:
Expand Down
12 changes: 6 additions & 6 deletions CYNITE/pm_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ async def next_page(bot, query):
],
)
btn.insert(0, [
InlineKeyboardButton("🔮 ʜᴏᴡ ᴛᴏ ᴏᴘᴇɴ ᴛʜɪs ʟɪɴᴋ 🔮", url=HOW_DWLD_LINK)
InlineKeyboardButton("🔮 JOIN BACKUP CHANNEL 🔮", url=HOW_DWLD_LINK)
])
try:
await query.edit_message_reply_markup(
Expand Down Expand Up @@ -520,7 +520,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
InlineKeyboardButton('ʜᴇʟᴘ', callback_data='help'),
InlineKeyboardButton('ᴀʙᴏᴜᴛ', callback_data='about'),
],[
InlineKeyboardButton('sᴜʙsᴄʀɪʙᴇ ᴏᴜʀ ʏᴛ ᴄʜᴀɴɴᴇʟ', url="https://youtube.com/@TechnicalCynite")
InlineKeyboardButton('sᴜʙsᴄʀɪʙᴇ ᴏᴜʀ ᴄʜᴀɴɴᴇʟ', url="https://t.me/VisionBackup")
]]

reply_markup = InlineKeyboardMarkup(buttons)
Expand Down Expand Up @@ -718,10 +718,10 @@ async def cb_handler(client: Client, query: CallbackQuery):
)
elif query.data == "cynite_cnl":
cnlbtn = [[
InlineKeyboardButton('ᴄʜᴀɴɴᴇʟ', url='t.me/CyniteBackup')
InlineKeyboardButton('ᴄʜᴀɴɴᴇʟ', url='t.me/New_Moviee_hindi')
], [
InlineKeyboardButton('sᴜᴘᴘᴏʀᴛ', url='t.me/Cynitesupport'),
InlineKeyboardButton('ᴜᴘᴅᴀᴛᴇs', url='t.me/cynitebackup')
InlineKeyboardButton('sᴜᴘᴘᴏʀᴛ', url='https://t.me/+4nzja42ELQwzOWVl'),
InlineKeyboardButton('ᴜᴘᴅᴀᴛᴇs', url='https://t.me/New_Moviee_hindi')
], [
InlineKeyboardButton("⟸ Bᴀᴄᴋ", callback_data="start")
]]
Expand Down Expand Up @@ -981,7 +981,7 @@ async def auto_filter(client, msg, spoll=False):
)

btn.insert(0, [
InlineKeyboardButton("🔮 ʜᴏᴡ ᴛᴏ ᴏᴘᴇɴ ᴛʜɪs ʟɪɴᴋ 🔮", url=HOW_DWLD_LINK)
InlineKeyboardButton("🔮 JOIN BACKUP CHANNEL 🔮", url=HOW_DWLD_LINK)
])

if offset != "":
Expand Down
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: python3 bot.py
worker: python3 bot.py
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@

## Deploy

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/cyniteofficial/Auto-Filter-V5)
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/CyniteOfficial/Auto-Filter-V5)
24 changes: 12 additions & 12 deletions Script.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ class script(object):

ABOUT_TXT = """<b>✯ Mʏ Nᴀᴍᴇ : {}</b>

<b>✯ Cʀᴇᴀᴛᴏʀ : <a href=https://t.me/Cyniteofficial>☢ Cynite ☢</a></b>
<b>✯ Cʀᴇᴀᴛᴏʀ : <a href=https://t.me/J_shree_ram>☢ J_shree_ram ☢</a></b>

<b>✯ Uᴘᴅᴀᴛᴇs : <a href=https://t.me/CyniteBackup>Cynite Updates 👾</a></b>
<b>✯ Uᴘᴅᴀᴛᴇs : <a href=https://t.me/New_Moviee_hindi>VisionBackup 👾</a></b>

<b>✯ Bᴜɪʟᴅ Sᴛᴀᴛᴜs : ᴠ2.0.62 [Sᴛᴀʙʟᴇ]</b>"""

SOURCE_TXT ="""
<b>Tʜɪꜱ Bᴏᴛ Iꜱ Aɴ Oᴘᴇɴ Sᴏᴜʀᴄᴇ Pʀᴏᴊᴇᴄᴛ.

- Sᴏᴜʀᴄᴇ - <a href=https://t.me/Aks_support01_bot>Watch Tutorial</a></b>
- Sᴏᴜʀᴄᴇ - <a href=https://t.me/+4nzja42ELQwzOWVl>Watch Tutorial</a></b>
"""

MANUELFILTER_TXT = """ʜᴇʟᴘ: <b>ꜰɪʟᴛᴇʀꜱ</b>
Expand Down Expand Up @@ -50,7 +50,7 @@ class script(object):
3. ʙᴜᴛᴛᴏɴꜱ ꜱʜᴏᴜʟᴅ ʙᴇ ᴘʀᴏᴘᴇʀʟʏ ᴘᴀʀꜱᴇᴅ ᴀꜱ ᴍᴀʀᴋᴅᴏᴡɴ ꜰᴏʀᴍᴀᴛ

<b>ᴜʀʟ ʙᴜᴛᴛᴏɴꜱ:</b>
<code>[Button Text](buttonurl:https://t.me/CyniteBackup)</code>
<code>[Button Text](buttonurl:https://t.me/VisionBackup)</code>

<b>ᴀʟᴇʀᴛ ʙᴜᴛᴛᴏɴꜱ:</b>
<code>[Button Text](buttonalert:ᴛʜɪꜱ ɪꜱ ᴀɴ ᴀʟᴇʀᴛ ᴍᴇꜱꜱᴀɢᴇ)</code>"""
Expand Down Expand Up @@ -113,7 +113,7 @@ class script(object):
<b>👥 ɢʀᴏᴜᴘs:</b> <code>{}</code>
<b>📉 ᴏᴄᴄᴜᴘɪᴇᴅ:</b> <code>{}</code>

<b><a href=https://t.me/CyniteBackup>~ Maintained by Cynite</a></b>"""
<b><a href=https://t.me/+4nzja42ELQwzOWVl>~ Maintained by sawan</a></b>"""

ADMIN_STATUS_TXT = """<b>⍟────[ ʙᴏᴛ sᴛᴀᴛᴜ𝗌 ]────⍟</b>

Expand All @@ -135,7 +135,7 @@ class script(object):

<b>🆓 ғʀᴇᴇ:</b> <code>{}</code>

<b>⍟────[ @CyniteBackup ]─────⍟</b>"""
<b>⍟────[ @J_shree_ram ]─────⍟</b>"""

LOG_TEXT_G = """<b>#NewGroup

Expand Down Expand Up @@ -192,9 +192,9 @@ class script(object):
OWNER_INFO = """
<b>⍟───[ ᴏᴡɴᴇʀ ᴅᴇᴛᴀɪʟꜱ ]───⍟

• ꜰᴜʟʟ ɴᴀᴍᴇ:- Cynite
ᴜsᴇʀɴᴀᴍᴇ:- @cynitesupport
ᴘᴇʀᴍᴀɴᴇɴᴛ ᴅᴍ ʟɪɴᴋ:- <a href='https://t.me/cynitesupport'>Cynite</a></b>
• ꜰᴜʟʟ ɴᴀᴍᴇ:- J_shree_ram
ᴜsᴇʀɴᴀᴍᴇ:- @J_shree_ram
ᴘᴇʀᴍᴀɴᴇɴᴛ ᴅᴍ ʟɪɴᴋ:- <a href='https://t.me/+4nzja42ELQwzOWVl'>Cynite</a></b>
"""

CYNITE_IMDB = """
Expand Down Expand Up @@ -327,7 +327,7 @@ class script(object):

ɪғ ʏᴏᴜ ɴᴏᴛ sᴇᴇ ʏᴏᴜʀ ғɪʟᴇs ᴏɴ ᴛʜɪs ᴘᴀɢᴇ ᴛʜᴇɴ ᴄʟɪᴄᴋ ᴏɴ ɴᴇxᴛ ᴘᴀɢᴇ.

Powered by :- @CyniteBackup
Powered by :- @J_shree_ram
"""

SPLMD = """
Expand All @@ -341,7 +341,7 @@ class script(object):

🚯ᴅᴏɴ'ᴛ ᴜsᴇ ➠ ':(!,./)

Powered by :- @CyniteBackup
Powered by :- @J_shree_ram
"""

REQUEST_TXT = """
Expand Down Expand Up @@ -424,7 +424,7 @@ class script(object):

🔅 Pᴏᴡᴇʀᴇᴅ Bʏ :- {}

<a href='https://t.me/Cynitebackup'>‣ Tʜɪs Mᴇssᴀɢᴇ Wɪʟʟ ʙᴇ Aᴜᴛᴏ-Dᴇʟᴇᴛᴇᴅ Aғᴛᴇʀ 5 Mɪɴᴜᴛᴇs. Kɪɴᴅʟʏ Fᴏʀᴡᴀʀᴅ Yᴏᴜʀ Fɪʟᴇs Tᴏ Sᴀᴠᴇᴅ.</a></b>"""
<a href='https://t.me/New_Moviee_hindi'>‣ Tʜɪs Mᴇssᴀɢᴇ Wɪʟʟ ʙᴇ Aᴜᴛᴏ-Dᴇʟᴇᴛᴇᴅ Aғᴛᴇʀ 5 Mɪɴᴜᴛᴇs. Kɪɴᴅʟʏ Fᴏʀᴡᴀʀᴅ Yᴏᴜʀ Fɪʟᴇs Tᴏ Sᴀᴠᴇᴅ.</a></b>"""

FILE_READY_TXT = """
<b>Hᴇʏ {}
Expand Down
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"formation": {
"worker": {
"quantity": 1,
"size": "free"
"size": "eco"
}
}
}
26 changes: 13 additions & 13 deletions info.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def is_enabled(value, default):
SESSION = environ.get('SESSION', 'Media_search')
API_ID = int(environ.get('API_ID', '12124605'))
API_HASH = environ.get('API_HASH', '5cf3577d85fd02286535ec2296934287')
BOT_TOKEN = environ.get('BOT_TOKEN', "5867279415:AAHxI9qM4iu-v4sOl53KPYMCThNX9KQVXrQ")
BOT_TOKEN = environ.get('BOT_TOKEN', "6038073115:AAHh6X9TjSNs0MsjBRWT-AphUExruwn6pgM")

# Bot settings
CACHE_TIME = int(environ.get('CACHE_TIME', 300))
Expand All @@ -27,8 +27,8 @@ def is_enabled(value, default):
NEWGRP = environ.get("NEWGRP", "https://telegra.ph/file/07c14729659c7c2b99f5a.jpg")

# Admins, Channels & Users
ADMINS = [int(admin) if id_pattern.search(admin) else admin for admin in environ.get('ADMINS', '1883570185').split()]
CHANNELS = [int(ch) if id_pattern.search(ch) else ch for ch in environ.get('CHANNELS', '-1001810806290').split()]
ADMINS = [int(admin) if id_pattern.search(admin) else admin for admin in environ.get('ADMINS', '5788515816').split()]
CHANNELS = [int(ch) if id_pattern.search(ch) else ch for ch in environ.get('CHANNELS', '-1001802248939').split()]
auth_users = [int(user) if id_pattern.search(user) else user for user in environ.get('AUTH_USERS', '').split()]
AUTH_USERS = (auth_users + ADMINS) if auth_users else []
auth_channel = environ.get('AUTH_CHANNEL')
Expand All @@ -37,25 +37,25 @@ def is_enabled(value, default):
AUTH_GROUPS = [int(ch) for ch in auth_grp.split()] if auth_grp else None

# MongoDB information
DATABASE_URI = environ.get('DATABASE_URI', "mongodb+srv://Dipanshu_021:ad8920@cluster0.f7migc1.mongodb.net/?retryWrites=true&w=majority")
DATABASE_NAME = environ.get('DATABASE_NAME', "Cynitev5Bot")
DATABASE_URI = environ.get('DATABASE_URI', "mongodb+srv://nikhilmaurya3214:sawan09@cluster0.4prggx4.mongodb.net/?retryWrites=true&w=majority")
DATABASE_NAME = environ.get('DATABASE_NAME', "Cluster0")
COLLECTION_NAME = environ.get('COLLECTION_NAME', 'Telegram_files')

# Channel Button Links
GRP_LNK = environ.get('GRP_LNK', 'https://t.me/cynitesupport')
CHNL_LNK = environ.get('CHNL_LNK', 'https://t.me/cynitebackup')
SUPPORT_CHAT = environ.get('SUPPORT_CHAT', 'https://t.me/cynitesupport')
GRP_LNK = environ.get('GRP_LNK', 'https://t.me/+7jMuZDzlhZRjMDBl')
CHNL_LNK = environ.get('CHNL_LNK', 'https://t.me/akworld_guru')
SUPPORT_CHAT = environ.get('SUPPORT_CHAT', 'https://t.me/+7jMuZDzlhZRjMDBl')
MSG_ALRT = environ.get('MSG_ALRT', 'Share and Support Us')

# Custom Chats
SUPPORT_GROUP = int(environ.get('SUPPORT_GROUP', -1001797596826))
FILE_CHANNEL = int(environ.get('FILE_CHANNEL', -1001810806290))
FILE_CHANNEL_LINK = environ.get('FILE_CHANNEL_LINK', 't.me/cynitebackup')
HOW_DWLD_LINK = environ.get('HOW_DWLD_LINK', 'https://t.me/cynitemovies/3')
HOW_DWLD_LINK = environ.get('HOW_DWLD_LINK', 'https://t.me/akworld_guru')

# Log Channels
LOG_CHANNEL = int(environ.get('LOG_CHANNEL', -1001819673897))
RQST_LOG_CHANNEL = int(environ.get('RQST_LOG_CHANNEL', -1001819673897))
LOG_CHANNEL = int(environ.get('LOG_CHANNEL', -1001551869890))
RQST_LOG_CHANNEL = int(environ.get('RQST_LOG_CHANNEL', -1001551869890))

# Bot Options
P_TTI_SHOW_OFF = is_enabled((environ.get('P_TTI_SHOW_OFF', "True")), True)
Expand Down Expand Up @@ -85,8 +85,8 @@ def is_enabled(value, default):

# URL SHORTNER

URL_SHORTENR_WEBSITE = environ.get('URL_SHORTENR_WEBSITE', 'mdisklink.link')
URL_SHORTNER_WEBSITE_API = environ.get('URL_SHORTNER_WEBSITE_API', 'b0e8c7cfe1b1f58accbb8884b72cc67a58feeeca')
URL_SHORTENR_WEBSITE = environ.get('URL_SHORTENR_WEBSITE', 'OnePageLink.in')
URL_SHORTNER_WEBSITE_API = environ.get('URL_SHORTNER_WEBSITE_API', 'ae0ddeedf38ac6672c0937a44338bc493a078f07')

LOG_STR = "Current Cusomized Configurations are:-\n"
LOG_STR += ("IMDB Results are enabled, Bot will be showing imdb details for you queries.\n" if IMDB else "IMBD Results are disabled.\n")
Expand Down
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.8.7
python-3.10.8
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
if [ -z $UPSTREAM_REPO ]
then
echo "Cloning main Repository"
git clone https://github.com/Cyniteofficial/Auto-Filter-V5.git /Auto-Filter-V5
git clone https://github.com/Singhsawan/Auto-Filter-V5.git /Auto-Filter-V5
else
echo "Cloning Custom Repo from $UPSTREAM_REPO "
git clone $UPSTREAM_REPO /Auto-Filter-V5
Expand Down