diff --git a/CYNITE/commands.py b/CYNITE/commands.py index a9c8a24..61d53e0 100644 --- a/CYNITE/commands.py +++ b/CYNITE/commands.py @@ -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( @@ -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( @@ -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( diff --git a/CYNITE/p_ttishow.py b/CYNITE/p_ttishow.py index c3454d0..30077d1 100644 --- a/CYNITE/p_ttishow.py +++ b/CYNITE/p_ttishow.py @@ -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( @@ -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: diff --git a/CYNITE/pm_filter.py b/CYNITE/pm_filter.py index 19b3777..8cfd445 100644 --- a/CYNITE/pm_filter.py +++ b/CYNITE/pm_filter.py @@ -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( @@ -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) @@ -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") ]] @@ -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 != "": diff --git a/Procfile b/Procfile index a18caa2..d80f8e7 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: python3 bot.py +worker: python3 bot.py diff --git a/README.md b/README.md index e2d04b6..8cbdd25 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/Script.py b/Script.py index eb2bd02..b5d8c83 100644 --- a/Script.py +++ b/Script.py @@ -11,16 +11,16 @@ class script(object): ABOUT_TXT = """✯ Mʏ Nᴀᴍᴇ : {} -✯ Cʀᴇᴀᴛᴏʀ : ☢ Cynite ☢ +✯ Cʀᴇᴀᴛᴏʀ : ☢ J_shree_ram ☢ -✯ Uᴘᴅᴀᴛᴇs : Cynite Updates 👾 +✯ Uᴘᴅᴀᴛᴇs : VisionBackup 👾 ✯ Bᴜɪʟᴅ Sᴛᴀᴛᴜs : ᴠ2.0.62 [Sᴛᴀʙʟᴇ]""" SOURCE_TXT =""" Tʜɪꜱ Bᴏᴛ Iꜱ Aɴ Oᴘᴇɴ Sᴏᴜʀᴄᴇ Pʀᴏᴊᴇᴄᴛ. -- Sᴏᴜʀᴄᴇ - Watch Tutorial +- Sᴏᴜʀᴄᴇ - Watch Tutorial """ MANUELFILTER_TXT = """ʜᴇʟᴘ: ꜰɪʟᴛᴇʀꜱ @@ -50,7 +50,7 @@ class script(object): 3. ʙᴜᴛᴛᴏɴꜱ ꜱʜᴏᴜʟᴅ ʙᴇ ᴘʀᴏᴘᴇʀʟʏ ᴘᴀʀꜱᴇᴅ ᴀꜱ ᴍᴀʀᴋᴅᴏᴡɴ ꜰᴏʀᴍᴀᴛ ᴜʀʟ ʙᴜᴛᴛᴏɴꜱ: -[Button Text](buttonurl:https://t.me/CyniteBackup) +[Button Text](buttonurl:https://t.me/VisionBackup) ᴀʟᴇʀᴛ ʙᴜᴛᴛᴏɴꜱ: [Button Text](buttonalert:ᴛʜɪꜱ ɪꜱ ᴀɴ ᴀʟᴇʀᴛ ᴍᴇꜱꜱᴀɢᴇ)""" @@ -113,7 +113,7 @@ class script(object): 👥 ɢʀᴏᴜᴘs: {} 📉 ᴏᴄᴄᴜᴘɪᴇᴅ: {} -~ Maintained by Cynite""" +~ Maintained by sawan""" ADMIN_STATUS_TXT = """⍟────[ ʙᴏᴛ sᴛᴀᴛᴜ𝗌 ]────⍟ @@ -135,7 +135,7 @@ class script(object): 🆓 ғʀᴇᴇ: {} -⍟────[ @CyniteBackup ]─────⍟""" +⍟────[ @J_shree_ram ]─────⍟""" LOG_TEXT_G = """#NewGroup @@ -192,9 +192,9 @@ class script(object): OWNER_INFO = """ ⍟───[ ᴏᴡɴᴇʀ ᴅᴇᴛᴀɪʟꜱ ]───⍟ -• ꜰᴜʟʟ ɴᴀᴍᴇ:- Cynite -ᴜsᴇʀɴᴀᴍᴇ:- @cynitesupport -ᴘᴇʀᴍᴀɴᴇɴᴛ ᴅᴍ ʟɪɴᴋ:- Cynite +• ꜰᴜʟʟ ɴᴀᴍᴇ:- J_shree_ram +ᴜsᴇʀɴᴀᴍᴇ:- @J_shree_ram +ᴘᴇʀᴍᴀɴᴇɴᴛ ᴅᴍ ʟɪɴᴋ:- Cynite """ CYNITE_IMDB = """ @@ -327,7 +327,7 @@ class script(object): ɪғ ʏᴏᴜ ɴᴏᴛ sᴇᴇ ʏᴏᴜʀ ғɪʟᴇs ᴏɴ ᴛʜɪs ᴘᴀɢᴇ ᴛʜᴇɴ ᴄʟɪᴄᴋ ᴏɴ ɴᴇxᴛ ᴘᴀɢᴇ. -Powered by :- @CyniteBackup +Powered by :- @J_shree_ram """ SPLMD = """ @@ -341,7 +341,7 @@ class script(object): 🚯ᴅᴏɴ'ᴛ ᴜsᴇ ➠ ':(!,./) -Powered by :- @CyniteBackup +Powered by :- @J_shree_ram """ REQUEST_TXT = """ @@ -424,7 +424,7 @@ class script(object): 🔅 Pᴏᴡᴇʀᴇᴅ Bʏ :- {} -‣ Tʜɪs Mᴇssᴀɢᴇ Wɪʟʟ ʙᴇ Aᴜᴛᴏ-Dᴇʟᴇᴛᴇᴅ Aғᴛᴇʀ 5 Mɪɴᴜᴛᴇs. Kɪɴᴅʟʏ Fᴏʀᴡᴀʀᴅ Yᴏᴜʀ Fɪʟᴇs Tᴏ Sᴀᴠᴇᴅ.""" +‣ Tʜɪs Mᴇssᴀɢᴇ Wɪʟʟ ʙᴇ Aᴜᴛᴏ-Dᴇʟᴇᴛᴇᴅ Aғᴛᴇʀ 5 Mɪɴᴜᴛᴇs. Kɪɴᴅʟʏ Fᴏʀᴡᴀʀᴅ Yᴏᴜʀ Fɪʟᴇs Tᴏ Sᴀᴠᴇᴅ.""" FILE_READY_TXT = """ Hᴇʏ {} diff --git a/app.json b/app.json index ae6c557..6db2374 100644 --- a/app.json +++ b/app.json @@ -95,7 +95,7 @@ "formation": { "worker": { "quantity": 1, - "size": "free" + "size": "eco" } } } diff --git a/info.py b/info.py index 248c512..7a79d85 100644 --- a/info.py +++ b/info.py @@ -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)) @@ -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') @@ -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) @@ -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") diff --git a/runtime.txt b/runtime.txt index 3e4835c..69b0ccf 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.8.7 +python-3.10.8 diff --git a/start.sh b/start.sh index b3c9933..56e6b32 100644 --- a/start.sh +++ b/start.sh @@ -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