From c0481635ed71e77d2bf9f6fd3426d7076b9bd79f Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 1 Apr 2023 10:54:53 +0530
Subject: [PATCH 001/137] Update Script.py
---
Script.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/Script.py b/Script.py
index 05fb8cee..3a5c1285 100644
--- a/Script.py
+++ b/Script.py
@@ -1,6 +1,6 @@
class script(object):
- START_TXT = """Hello {},
-Myself {},\n\nTrust me ! I can't even imagine how super-fast i can drive your Database channel \n\nAre you ready for Long Drive Baby...🤪"""
+ START_TXT = """ʜᴇʟʟᴏ {},
+Sᴏʀʀʏ ɪ ᴏɴʟʏ ᴡᴏʀᴋ ᴏɴ ᴍᴏᴠɪᴇ ʙᴏꜱꜱ Gʀᴏᴜᴘ. Nᴏ ᴏᴛʜᴇʀ ᴄᴏᴍᴍᴀɴᴅ ᴡɪʟʟ ᴡᴏʀᴋ ᴏɴ ᴛʜɪs ʙᴏᴛ ᴇxᴄᴇᴘᴛ sᴛᴀʀᴛ. ᴅᴏɴ’ᴛ ᴡᴀsᴛᴇ ʏᴏᴜʀ ᴛɪᴍᴇ"""
LZTHMB_TEXT = """Hello {},
Glad to see you here. It seems that you really love LazyDeveloper's work.\n\nThumbnail extracting feature will be available soon, please join Dev Channel and stay tuned for next update.\n\n 🐞 Report Bug here: LazyDev Support
"""
@@ -17,18 +17,18 @@ class script(object):
HELP_TXT = """𝙷𝙴𝚈 {}
Here is the help for my COMMANDS."""
ABOUT_TXT = """✯ 𝙼𝚈 𝙽𝙰𝙼𝙴: {}
-✯ 𝙲𝚁𝙴𝙰𝚃𝙾𝚁: LazyDeveloper
+✯ 𝙲𝚁𝙴𝙰𝚃𝙾𝚁: Sʜᴀʜɪᴅ
✯ 𝙻𝙸𝙱𝚁𝙰𝚁𝚈: 𝙿𝚈𝚁𝙾𝙶𝚁𝙰𝙼
✯ 𝙻𝙰𝙽𝙶𝚄𝙰𝙶𝙴: 𝙿𝚈𝚃𝙷𝙾𝙽 𝟹
✯ 𝙳𝙰𝚃𝙰 𝙱𝙰𝚂𝙴: 𝙼𝙾𝙽𝙶𝙾 𝙳𝙱
✯ 𝙱𝙾𝚃 𝚂𝙴𝚁𝚅𝙴𝚁: 𝙷𝙴𝚁𝙾𝙺𝚄
✯ 𝙱𝚄𝙸𝙻𝙳 𝚂𝚃𝙰𝚃𝚄𝚂: v1.0.1 [ 𝙱𝙴𝚃𝙰 ]"""
SOURCE_TXT = """NOTE:
-- Lazy Princess is an open source project.
-- Source - https://github.com/LazyDeveloperr/LazyPrincess
+- ꜱᴏʀʀyy.....
+- ᴛʜɪꜱ ʙᴏᴛ ɪꜱ ɴᴏᴛ ᴀ ᴏᴩᴇɴ ꜱᴏᴜʀᴄᴇ ʙᴏᴛ
DEVS:
-- LazyDeveloper"""
+- ꜱʜᴀʜɪᴅ"""
MANUELFILTER_TXT = """Help: Filters
- Filter is the feature were users can set automated replies for a particular keyword and LazyPriness will respond whenever that keyword hits the message
@@ -119,7 +119,7 @@ class script(object):
Name - {}
"""
PROGRESS_BAR = """\n
-╭━━━━❰ PROGRESS BAR ❱━➣
+╭━━━━❰ ᴩʟᴇᴀꜱᴇ ᴡᴀɪᴛ ❱━➣
┣⪼ 🗂️ : {1} | {2}
┣⪼ ⏳️ : {0}%
┣⪼ 🚀 : {3}/s
From d641dfb995a6b2ead4fcb9ad4c4126f6cfd7b671 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 1 Apr 2023 12:20:43 +0530
Subject: [PATCH 002/137] Update commands.py
---
plugins/commands.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index 07086a3d..b152e4f0 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -23,10 +23,10 @@ async def start(client, message):
if message.chat.type in [enums.ChatType.GROUP, enums.ChatType.SUPERGROUP]:
buttons = [
[
- InlineKeyboardButton('🔔 Updates 🤖', url='https://t.me/LazyDeveloper')
+ InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9')
],
[
- InlineKeyboardButton('🙆🏻 Help 🦾', url=f"https://t.me/{temp.U_NAME}?start=help"),
+ InlineKeyboardButton('◽️ʜᴇʟᴩ', url=f"https://t.me/{temp.U_NAME}?start=help"),
],[
InlineKeyboardButton('Watch Tutorial', url='https://youtube.com/LazyDeveloper')
],
@@ -69,7 +69,7 @@ async def start(client, message):
try:
invite_link = await client.create_chat_invite_link(int(AUTH_CHANNEL))
except ChatAdminRequired:
- logger.error("Hey Sona, Ek dfa check kr lo ki main Channel mei Add hu ya nhi...!")
+ logger.error("ʜᴇy ᴅᴜᴅᴇ ᴄʜᴇᴄᴋ ᴏɴᴄᴇ ɪꜰ yᴏᴜ ᴀᴅᴅᴇᴅ ᴍᴇ ɪɴ ᴄʜᴀɴɴᴇʟ ᴏʀ ɴᴏᴛᴇ...!")
return
btn = [
[
From bbda603899d999e85ab8ab7f4510c77bdd61c75d Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 1 Apr 2023 12:42:11 +0530
Subject: [PATCH 003/137] Update commands.py
---
plugins/commands.py | 42 +++++++++++++++++-------------------------
1 file changed, 17 insertions(+), 25 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index b152e4f0..973d3216 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -27,8 +27,6 @@ async def start(client, message):
],
[
InlineKeyboardButton('◽️ʜᴇʟᴩ', url=f"https://t.me/{temp.U_NAME}?start=help"),
- ],[
- InlineKeyboardButton('Watch Tutorial', url='https://youtube.com/LazyDeveloper')
],
[
InlineKeyboardButton(text=DOWNLOAD_TEXT_NAME,url=DOWNLOAD_TEXT_URL)
@@ -46,17 +44,15 @@ async def start(client, message):
await db.add_user(message.from_user.id, message.from_user.first_name)
await client.send_message(LOG_CHANNEL, script.LOG_TEXT_P.format(message.from_user.id, message.from_user.mention))
if len(message.command) != 2:
- buttons = [[
- InlineKeyboardButton('➕↖️ Add Me To Your Groups ↗️➕', url=f'http://t.me/{temp.U_NAME}?startgroup=true')
- ],[
- InlineKeyboardButton('🧞♀️ Search 🧐', switch_inline_query_current_chat=''),
- InlineKeyboardButton('🔔 Updates 🤖', url='https://t.me/LazyDeveloper')
- ],[
- InlineKeyboardButton('🙆🏻 Help 🦾', callback_data='help'),
- InlineKeyboardButton('♥️ About ♥️', callback_data='about')
+ buttons = [
+ [
+ InlineKeyboardButton('◽️ᴏᴡɴᴇʀ', url='https://t.me/GT_ben),
+ InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9')
],[
- InlineKeyboardButton('Watch Tutorial', url='https://youtube.com/LazyDeveloper')
- ]]
+ InlineKeyboardButton('◽️ʜᴇʟᴩ', callback_data='help'),
+ InlineKeyboardButton('◽️ᴀʙᴏᴜᴛ', callback_data='about')
+ ]
+ ]
reply_markup = InlineKeyboardMarkup(buttons)
await message.reply_photo(
photo=random.choice(PICS),
@@ -74,7 +70,7 @@ async def start(client, message):
btn = [
[
InlineKeyboardButton(
- "🤖 Join Updates Channel", url=invite_link.invite_link
+ "🔺ᴊᴏɪɴ ʙᴀᴄᴋᴜᴩ ᴄʜᴀɴɴᴇʟ", url=invite_link.invite_link
)
],
[
@@ -88,27 +84,23 @@ async def start(client, message):
try:
kk, file_id = message.command[1].split("_", 1)
pre = 'checksubp' if kk == 'filep' else 'checksub'
- btn.append([InlineKeyboardButton(" 🔄 Try Again", callback_data=f"{pre}#{file_id}")])
+ btn.append([InlineKeyboardButton(" ᴛʀy ᴀɢᴀɪɴ♻️", callback_data=f"{pre}#{file_id}")])
except (IndexError, ValueError):
- btn.append([InlineKeyboardButton(" 🔄 Try Again", url=f"https://t.me/{temp.U_NAME}?start={message.command[1]}")])
+ btn.append([InlineKeyboardButton(" ᴛʀy ᴀɢᴀɪɴ♻️", url=f"https://t.me/{temp.U_NAME}?start={message.command[1]}")])
await client.send_message(
chat_id=message.from_user.id,
- text="**Please Join My Updates Channel to use this Bot!**",
+ text="**ᴩʟᴇᴀꜱᴇ ᴊᴏɪɴ ᴏᴜʀ ʙᴀᴄᴋᴜᴩ ᴄʜᴀɴɴᴇʟ!**",
reply_markup=InlineKeyboardMarkup(btn),
parse_mode=enums.ParseMode.MARKDOWN
)
return
if len(message.command) == 2 and message.command[1] in ["subscribe", "error", "okay", "help"]:
buttons = [[
- InlineKeyboardButton('➕↖️ Add Me To Your Groups ↗️➕', url=f'http://t.me/{temp.U_NAME}?startgroup=true')
- ],[
- InlineKeyboardButton('🧞♀️ Search 🧐', switch_inline_query_current_chat=''),
- InlineKeyboardButton('🔔 Updates 🤖', url='https://t.me/LazyDeveloper')
+ InlineKeyboardButton('◽️ᴏᴡɴᴇʀ', url='http://t.me/GT_ben'),
+ InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9')
],[
- InlineKeyboardButton('🙆🏻 Help 🦾', callback_data='help'),
- InlineKeyboardButton('♥️ About ♥️', callback_data='about')
- ],[
- InlineKeyboardButton('Watch Tutorial', url='https://youtube.com/LazyDeveloper')
+ InlineKeyboardButton('◽️ʜᴇʟᴩ', callback_data='help'),
+ InlineKeyboardButton('◽️ᴀʙᴏᴜᴛ', callback_data='about')
]]
reply_markup = InlineKeyboardMarkup(buttons)
await message.reply_photo(
@@ -374,7 +366,7 @@ async def delete_all_index(bot, message):
@Client.on_callback_query(filters.regex(r'^autofilter_delete'))
async def delete_all_index_confirm(bot, message):
await Media.collection.drop()
- await message.answer('♥️ Thank You LazyDeveloper ♥️')
+ await message.answer('♥️ Thank You ♥️')
await message.message.edit('Succesfully Deleted All The Indexed Files.')
From 3055619dacf1b2fde4d17e9ea21a24dd54bd298b Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 1 Apr 2023 12:47:03 +0530
Subject: [PATCH 004/137] Update commands.py
---
plugins/commands.py | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index 973d3216..91f5575f 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -44,15 +44,13 @@ async def start(client, message):
await db.add_user(message.from_user.id, message.from_user.first_name)
await client.send_message(LOG_CHANNEL, script.LOG_TEXT_P.format(message.from_user.id, message.from_user.mention))
if len(message.command) != 2:
- buttons = [
- [
+ buttons = [[
InlineKeyboardButton('◽️ᴏᴡɴᴇʀ', url='https://t.me/GT_ben),
InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9')
],[
InlineKeyboardButton('◽️ʜᴇʟᴩ', callback_data='help'),
InlineKeyboardButton('◽️ᴀʙᴏᴜᴛ', callback_data='about')
- ]
- ]
+ ]]
reply_markup = InlineKeyboardMarkup(buttons)
await message.reply_photo(
photo=random.choice(PICS),
From 5596342c655f08b98abc691f6445c01f065bb23a Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 1 Apr 2023 12:54:07 +0530
Subject: [PATCH 005/137] Update index.py
---
plugins/index.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/plugins/index.py b/plugins/index.py
index 78604161..c74ca7a9 100644
--- a/plugins/index.py
+++ b/plugins/index.py
@@ -91,9 +91,9 @@ async def send_for_index(bot, message):
filename = file.file_name
filesize = humanize.naturalsize(file.file_size)
buttons = [
- [ InlineKeyboardButton("📝✧ S𝚝ar𝚝 re𝚗aᗰi𝚗g ✧📝", callback_data="rename") ],
- [ InlineKeyboardButton('📇✧✧ S𝚝ar𝚝 iŋdᗴXi𝚗g ✧✧📇',callback_data=f'index#accept#{chat_id}#{last_msg_id}#{message.from_user.id}')],
- [ InlineKeyboardButton('⨳ C L Ф S Ξ ⨳', callback_data='cancel'),]
+ [ InlineKeyboardButton("ʀᴇɴᴀᴍᴇ", callback_data="rename") ],
+ [ InlineKeyboardButton('ꜱᴛᴀʀᴛ ɪɴᴅᴇx',callback_data=f'index#accept#{chat_id}#{last_msg_id}#{message.from_user.id}')],
+ [ InlineKeyboardButton('ᴄʟᴏꜱᴇ', callback_data='cancel'),]
]
reply_markup = InlineKeyboardMarkup(buttons)
return await message.reply(
@@ -107,7 +107,7 @@ async def send_for_index(bot, message):
callback_data=f'index#accept#{chat_id}#{last_msg_id}#{message.from_user.id}')
],
[
- InlineKeyboardButton('⨳ C L Ф S Ξ ⨳', callback_data='close_data'),
+ InlineKeyboardButton('ᴄʟᴏꜱᴇ', callback_data='close_data'),
]
]
reply_markup = InlineKeyboardMarkup(buttons)
@@ -140,8 +140,8 @@ async def send_for_index(bot, message):
if message.from_user.id in LAZY_RENAMERS:
k = await message.reply('🎉\n\n\n❤️ Thank You For the Contribution, Wait For My Moderators to verify the files.\n\n\n🎁')
buttons = [
- [InlineKeyboardButton("📝✧✧ S𝚝ar𝚝 re𝚗aᗰi𝚗g ✧✧📝", callback_data="rename") ],
- [InlineKeyboardButton('⨳ C L Ф S Ξ ⨳', callback_data='cancel')]]
+ [InlineKeyboardButton("ʀᴇɴᴀᴍᴇ", callback_data="rename") ],
+ [InlineKeyboardButton('ᴄʟᴏꜱᴇ', callback_data='cancel')]]
reply_markup = InlineKeyboardMarkup(buttons)
file = getattr(message, message.media.value)
filename = file.file_name
@@ -155,8 +155,8 @@ async def send_for_index(bot, message):
else :
await message.reply('🎉\n\n\n❤️ Thank You For the Contribution, Wait For My Moderators to verify the files.\n\n\n🎁')
buttons = [
- [InlineKeyboardButton("📝✧✧ S𝚝ar𝚝 re𝚗aᗰi𝚗g ✧✧📝", callback_data="requireauth") ],
- [InlineKeyboardButton('⨳ C L Ф S Ξ ⨳', callback_data='cancel')]]
+ [InlineKeyboardButton("ʀᴇɴᴀᴍᴇ", callback_data="requireauth") ],
+ [InlineKeyboardButton('ᴄʟᴏꜱᴇ', callback_data='cancel')]]
reply_markup = InlineKeyboardMarkup(buttons)
file = getattr(message, message.media.value)
filename = file.file_name
From 777c57abffdc314034e308d19ff2e7910a0d4340 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 1 Apr 2023 13:29:27 +0530
Subject: [PATCH 006/137] Update p_ttishow.py
---
plugins/p_ttishow.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/plugins/p_ttishow.py b/plugins/p_ttishow.py
index 67494882..e206e435 100644
--- a/plugins/p_ttishow.py
+++ b/plugins/p_ttishow.py
@@ -22,7 +22,7 @@ async def save_group(bot, message):
if message.chat.id in temp.BANNED_CHATS:
# Inspired from a boat of a banana tree
buttons = [[
- InlineKeyboardButton('Support', url=f'https://t.me/{SUPPORT_CHAT}')
+ InlineKeyboardButton('ꜱᴜᴩᴩᴏʀᴛ', url=f'https://t.me/{SUPPORT_CHAT}')
]]
reply_markup=InlineKeyboardMarkup(buttons)
k = await message.reply(
@@ -37,12 +37,12 @@ async def save_group(bot, message):
await bot.leave_chat(message.chat.id)
return
buttons = [[
- InlineKeyboardButton('🤥 Help', url=f"https://t.me/{temp.U_NAME}?start=help"),
- InlineKeyboardButton('🔔 Updates', url='https://t.me/LazyDeveloper')
+ InlineKeyboardButton('◽️ʜᴇʟᴩ', url=f"https://t.me/{temp.U_NAME}?start=help"),
+ InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9')
]]
reply_markup=InlineKeyboardMarkup(buttons)
await message.reply_text(
- text=f"Thankyou For Adding Me In {message.chat.title} ❣️\n\nIf you have any questions & doubts about using me contact support.",
+ text=f"ᴛʜᴀɴᴋyᴏᴜ ꜰᴏʀ ᴀᴅᴅɪɴɢ ᴍᴇ ɪɴ {message.chat.title} ❣️\n\nɪꜰ yᴏᴜ ʜᴀᴠᴇ ᴀɴy qᴜᴇꜱᴛɪᴏɴ & ᴅᴏᴜʙᴛꜱ ᴀʙᴏᴜᴛ ᴜꜱɪɴɢ ᴍᴇ ᴄᴏɴᴛᴀᴄᴛ ꜱᴜᴩᴩᴏʀᴛ.",
reply_markup=reply_markup)
else:
settings = await get_settings(message.chat.id)
From c67d9b9a5238c43926edfa773c2a54e46e6f5138 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 1 Apr 2023 13:38:27 +0530
Subject: [PATCH 007/137] Update pm_filter.py
---
plugins/pm_filter.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index d813c220..7b33d8cc 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -560,7 +560,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
await query.answer(url=f"https://t.me/{temp.U_NAME}?start={ident}_{file_id}")
elif query.data.startswith("checksub"):
if AUTH_CHANNEL and not await is_subscribed(client, query):
- await query.answer("Mere saamne jyada smart nhi banne ka sona 😒", show_alert=True)
+ await query.answer("yᴏᴜʀ ꜱᴍᴀʀᴛɴᴇꜱꜱ ɪꜱ ɢᴏᴏᴅ ʙᴜᴛ ᴅᴏɴ'ᴛ ꜱʜᴏᴡ ᴏᴠᴇʀ ꜱᴍᴀʀᴛ 😒", show_alert=True)
return
ident, file_id = query.data.split("#")
files_ = await get_file_details(file_id)
@@ -590,9 +590,9 @@ async def cb_handler(client: Client, query: CallbackQuery):
elif query.data == "pages":
await query.answer()
elif query.data == "start":
- buttons = [[
+ buttons = [
InlineKeyboardButton('➕↖️ Add Me To Your Groups ↗️➕', url=f'http://t.me/{temp.U_NAME}?startgroup=true')
- ], [
+0[
InlineKeyboardButton('🧞♀️ Search 🧐', switch_inline_query_current_chat=''),
InlineKeyboardButton('🔔 Updates 🤖', url='https://t.me/LazyDeveloper')
], [
From f20cb9b6b4a635b56a59c60489cd0ee585bf3cbd Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 1 Apr 2023 13:44:46 +0530
Subject: [PATCH 008/137] Update pm_filter.py
---
plugins/pm_filter.py | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 7b33d8cc..2708d907 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -590,16 +590,12 @@ async def cb_handler(client: Client, query: CallbackQuery):
elif query.data == "pages":
await query.answer()
elif query.data == "start":
- buttons = [
- InlineKeyboardButton('➕↖️ Add Me To Your Groups ↗️➕', url=f'http://t.me/{temp.U_NAME}?startgroup=true')
-0[
- InlineKeyboardButton('🧞♀️ Search 🧐', switch_inline_query_current_chat=''),
- InlineKeyboardButton('🔔 Updates 🤖', url='https://t.me/LazyDeveloper')
+ button:[[
+ InlineKeyboardButton('◽️ᴏᴡɴᴇʀ', url='https://t.me/GT_ben),
+ InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9')
], [
- InlineKeyboardButton('🙆🏻 Help 🦾', callback_data='help'),
- InlineKeyboardButton('♥️ About ♥️', callback_data='about')
- ],[
- InlineKeyboardButton('Watch Tutorial', url='https://youtube.com/LazyDeveloper')
+ InlineKeyboardButton('◽️ʜᴇʟᴩ', callback_data='help'),
+ InlineKeyboardButton('◽️ᴀʙᴏᴜᴛ', callback_data='about')
]]
reply_markup = InlineKeyboardMarkup(buttons)
await query.message.edit_text(
From 801be3fe4f7c3a321076b6c9abd8e66ebbb3efa2 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 1 Apr 2023 13:47:17 +0530
Subject: [PATCH 009/137] Update commands.py
---
plugins/commands.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index 91f5575f..3a1520cb 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -94,7 +94,7 @@ async def start(client, message):
return
if len(message.command) == 2 and message.command[1] in ["subscribe", "error", "okay", "help"]:
buttons = [[
- InlineKeyboardButton('◽️ᴏᴡɴᴇʀ', url='http://t.me/GT_ben'),
+ InlineKeyboardButton('◽️ᴏᴡɴᴇʀ', url='https://t.me/GT_ben'),
InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9')
],[
InlineKeyboardButton('◽️ʜᴇʟᴩ', callback_data='help'),
From 9b4a119188129d91422359081fd21c55f92a43ea Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 1 Apr 2023 14:06:58 +0530
Subject: [PATCH 010/137] Update pm_filter.py
---
plugins/pm_filter.py | 50 ++++++++++++++++++++++----------------------
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 2708d907..9250f59f 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -590,7 +590,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
elif query.data == "pages":
await query.answer()
elif query.data == "start":
- button:[[
+ buttons = [[
InlineKeyboardButton('◽️ᴏᴡɴᴇʀ', url='https://t.me/GT_ben),
InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9')
], [
@@ -623,8 +623,8 @@ async def cb_handler(client: Client, query: CallbackQuery):
)
elif query.data == "about":
buttons = [[
- InlineKeyboardButton('🔔 Updates 🤖', url='https://t.me/LazyDeveloper'),
- InlineKeyboardButton('♥️ Source', callback_data='source')
+ InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9'),
+ InlineKeyboardButton('◽️ᴏᴛʜᴇʀ', callback_data='source')
], [
InlineKeyboardButton('🏠 Home', callback_data='start'),
InlineKeyboardButton('🔐 Close', callback_data='close_data')
@@ -682,11 +682,11 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 Search Here 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
],[
- InlineKeyboardButton(text=f"🐞 REPORT ISSUE 🐞", url=f"https://telegram.me/LazyDeveloperSupport")
+ InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
- InlineKeyboardButton(text=f"⚡️ Learn Bot Making 🦋", url=f"https://youtube.com/@LazyDeveloperr")
+ InlineKeyboardButton(text=f"⚡️ ʙᴀᴄᴋᴜᴩ ᴄʜᴀɴɴᴇʟ ⚡️", url=f"https://telegram.me/MovieBossTG")
]]
btn_lzdv = [
@@ -710,11 +710,11 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 Search Here 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
],[
- InlineKeyboardButton(text=f"🐞 REPORT ISSUE 🐞", url=f"https://telegram.me/LazyDeveloperSupport")
+ InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
- InlineKeyboardButton(text=f"⚡️ Learn Bot Making 🦋", url=f"https://youtube.com/@LazyDeveloperr")
+ InlineKeyboardButton(text=f"⚡️ ʙᴀᴄᴋᴜᴩ ᴄʜᴀɴɴᴇʟ ⚡️", url=f"https://telegram.me/MovieBossTG")
]]
btn_lzdv = [
[
@@ -736,11 +736,11 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 Search Here 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
],[
- InlineKeyboardButton(text=f"🐞 REPORT ISSUE 🐞", url=f"https://telegram.me/LazyDeveloperSupport")
+ InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
- InlineKeyboardButton(text=f"⚡️ Learn Bot Making 🦋", url=f"https://youtube.com/@LazyDeveloperr")
+ InlineKeyboardButton(text=f"⚡️ ʙᴀᴄᴋᴜᴩ ᴄʜᴀɴɴᴇʟ ⚡️", url=f"https://telegram.me/MovieBossTG")
]]
btn_lzdv = [
@@ -763,11 +763,11 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 Search Here 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
],[
- InlineKeyboardButton(text=f"🐞 REPORT ISSUE 🐞", url=f"https://telegram.me/LazyDeveloperSupport")
+ InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
- InlineKeyboardButton(text=f"⚡️ Learn Bot Making 🦋", url=f"https://youtube.com/@LazyDeveloperr")
+ InlineKeyboardButton(text=f"⚡️ ʙᴀᴄᴋᴜᴩ ᴄʜᴀɴɴᴇʟ ⚡️", url=f"https://telegram.me/MovieBossTG")
]]
btn_lzdv = [
[
@@ -789,11 +789,11 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 Search Here 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
],[
- InlineKeyboardButton(text=f"🐞 REPORT ISSUE 🐞", url=f"https://telegram.me/LazyDeveloperSupport")
+ InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
- InlineKeyboardButton(text=f"⚡️ Learn Bot Making 🦋", url=f"https://youtube.com/@LazyDeveloperr")
+ InlineKeyboardButton(text=f"⚡️ ʙᴀᴄᴋᴜᴩ ᴄʜᴀɴɴᴇʟ ⚡️", url=f"https://telegram.me/MovieBossTG")
]]
btn_lzdv = [
@@ -898,7 +898,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
# )
elif query.data == "donatelazydev":
buttons = [
- [ InlineKeyboardButton("⨳ Close ⨳", callback_data="close_data") ]
+ [ InlineKeyboardButton("ᴄʟᴏꜱᴇ", callback_data="close_data") ]
]
reply_markup = InlineKeyboardMarkup(buttons)
await query.message.edit_text(
@@ -908,8 +908,8 @@ async def cb_handler(client: Client, query: CallbackQuery):
)
elif query.data == "lazyhome":
text = f"""\n⨳ *•.¸♡ L҉ΛZ𝐲 MⓄd𝓔 ♡¸.•* ⨳\n\n**Please tell, what should i do with this file.?**\n"""
- buttons = [[ InlineKeyboardButton("📝✧✧ S𝚝ar𝚝 re𝚗aᗰi𝚗g ✧✧📝", callback_data="rename") ],
- [ InlineKeyboardButton("⨳ C L Ф S Ξ ⨳", callback_data="cancel") ]]
+ buttons = [[ InlineKeyboardButton("ʀᴇɴᴀᴍᴇ", callback_data="rename") ],
+ [ InlineKeyboardButton("ᴄʟᴏꜱᴇ", callback_data="cancel") ]]
reply_markup = InlineKeyboardMarkup(buttons)
await query.message.edit_text(
text=text,
@@ -918,7 +918,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
)
elif query.data == "requireauth":
buttons = [
- [ InlineKeyboardButton("⨳ C L Ф S Ξ ⨳", callback_data="cancel") ]]
+ [ InlineKeyboardButton("ᴄʟᴏꜱᴇ", callback_data="cancel") ]]
reply_markup = InlineKeyboardMarkup(buttons)
await query.message.edit_text(
text=script.REQ_AUTH_TEXT.format(query.from_user.mention),
@@ -940,8 +940,8 @@ async def cb_handler(client: Client, query: CallbackQuery):
# )
# elif query.data == "reqauthlazyhome":
# text = f"""\n⨳ *•.¸♡ L҉ΛZ𝐲 MⓄd𝓔 ♡¸.•* ⨳\n\n**Please tell, what should i do with this file.?**\n"""
- # buttons = [[ InlineKeyboardButton("📝✧✧ S𝚝ar𝚝 re𝚗aᗰi𝚗g ✧✧📝", callback_data="requireauth") ],
- # [ InlineKeyboardButton("⨳ C L Ф S Ξ ⨳", callback_data="cancel") ]]
+ # buttons = [[ InlineKeyboardButton("ʀᴇɴᴀᴍᴇ", callback_data="requireauth") ],
+ # [ InlineKeyboardButton("ᴄʟᴏꜱᴇ", callback_data="cancel") ]]
# reply_markup = InlineKeyboardMarkup(buttons)
# await query.message.edit_text(
# text=text,
@@ -978,7 +978,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
# if extracted_line:
# # Send the extracted line to the other group chat
# buttons = [
- # [ InlineKeyboardButton("⨳ ok ⨳", callback_data="cancel") ]
+ # [ InlineKeyboardButton("ᴏᴋ", callback_data="cancel") ]
# ]
# reply_markup = InlineKeyboardMarkup(buttons)
# await client.send_message(MOVIE_GROUP_ID, text=extracted_line.group(1))
From 655bfe025dac1e7a7f573e099f237f370a6fa1d6 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 1 Apr 2023 14:30:13 +0530
Subject: [PATCH 011/137] Update commands.py
---
plugins/commands.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index 3a1520cb..d3107606 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -45,7 +45,7 @@ async def start(client, message):
await client.send_message(LOG_CHANNEL, script.LOG_TEXT_P.format(message.from_user.id, message.from_user.mention))
if len(message.command) != 2:
buttons = [[
- InlineKeyboardButton('◽️ᴏᴡɴᴇʀ', url='https://t.me/GT_ben),
+ InlineKeyboardButton('◽️ᴏᴡɴᴇʀ', url='https://t.me/GT_ben'),
InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9')
],[
InlineKeyboardButton('◽️ʜᴇʟᴩ', callback_data='help'),
From 2a0de598641385eb2e6cb1e0804e70b1cd83e1e0 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 1 Apr 2023 20:20:59 +0530
Subject: [PATCH 012/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 9250f59f..30700af9 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -591,7 +591,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
await query.answer()
elif query.data == "start":
buttons = [[
- InlineKeyboardButton('◽️ᴏᴡɴᴇʀ', url='https://t.me/GT_ben),
+ InlineKeyboardButton('◽️ᴏᴡɴᴇʀ', url='https://t.me/GT_ben'),
InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9')
], [
InlineKeyboardButton('◽️ʜᴇʟᴩ', callback_data='help'),
From 09660a1471f13919a95e5b884c68f6748cb3f0c3 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sun, 2 Apr 2023 08:40:50 +0530
Subject: [PATCH 013/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 30700af9..41d91bd5 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -1119,7 +1119,7 @@ async def auto_filter(client, msg, spoll=False):
]))
l = await message.reply_text(text=f"△ 𝙷𝚎𝚢 𝚜𝚘𝚗𝚊 `{message.from_user.first_name}` 😎,\n\nʏᴏᴜʀ ʀᴇQᴜᴇꜱᴛ ʜᴀꜱ ʙᴇᴇɴ ꜱᴇɴᴛ ᴛᴏ ᴏᴜʀ **ᴀᴅᴍɪɴ'ꜱ ᴅᴀꜱʜʙᴏᴀʀᴅ** !\nᴘʟᴇᴀꜱᴇ ᴋᴇᴇᴘ ꜱᴏᴍᴇ ᴘᴀᴛɪᴇɴᴄᴇ !\nᴛʜᴇʏ ᴡɪʟʟ ᴜᴘʟᴏᴀᴅ ɪᴛ ᴀꜱ ꜱᴏᴏɴ ᴀꜱ ᴘᴏꜱꜱɪʙʟᴇ.\n\n➟ 📝𝘾𝙤𝙣𝙩𝙚𝙣𝙩 𝙣𝙖𝙢𝙚 : `{search}`\n➟ 👮𝙍𝙚𝙦𝙪𝙚𝙨𝙩𝙚𝙙 𝘽𝙮 : `{message.from_user.first_name}`\n\n༺ @{MAIN_CHANNEL_USRNM} ༻\n\n🦋・‥☆𝘼𝘿𝙈𝙞𝙉 𝙨𝙪𝙥𝙥𝙤𝙧𝙩☆‥・🦋\n╰┈➤・☆ @{ADMIN_USRNM}\n╰┈➤・☆ @LazyDeveloperr",
- reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("━ • │▌║ ᗩᗪᗪ ʍɛ 2 ᑌᖇ Ǥᖇᗝᑌᑭ ║▌│ • ━", url=f'http://t.me/{temp.U_NAME}?startgroup=true')],[InlineKeyboardButton("✪ Dev Ch- ✪", url=f"https://t.me/{DEV_CHANNEL_USRNM}"), InlineKeyboardButton("✪ YT ✪", url=f"https://youtube.com/@{LAZY_YT_HANDLE}"), InlineKeyboardButton("✪ Main Ch- ✪", url=f"https://t.me/{MAIN_CHANNEL_USRNM}")],[InlineKeyboardButton("╚»♥️ Thank You ♥️«╝", callback_data="close_data")]]))
+ reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🔺 Cʟᴏꜱᴇ 🔺", callback_data="close_data")]]))
await asyncio.sleep(20)
await l.delete()
if settings["spell_check"]:
From 5f554bc6c5872e8f24c82ae7a2cbc992ec5e4114 Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Sun, 2 Apr 2023 13:06:17 +0530
Subject: [PATCH 014/137] Update info.py
---
info.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/info.py b/info.py
index ee66be11..2c97a196 100644
--- a/info.py
+++ b/info.py
@@ -42,7 +42,7 @@ def is_enabled(value, default):
P_TTI_SHOW_OFF = is_enabled((environ.get('P_TTI_SHOW_OFF', "False")), False)
IMDB = is_enabled((environ.get('IMDB', "True")), True)
SINGLE_BUTTON = is_enabled((environ.get('SINGLE_BUTTON', "False")), False)
-CUSTOM_FILE_CAPTION = environ.get("CUSTOM_FILE_CAPTION", "⚡File uploaded by [Movies Adaa™](https://t.me/real_MoviesAdda2)⚡\n\n🎦 File Name: ➥ {file_caption}\n⚙️ Size: {file_size}\n\n ❤️WE LOVE YOU❤️\n🔥 ↭ Join Now [MoviesAdda™](https://t.me/real_MoviesAdda2) ↭ 🔥")
+CUSTOM_FILE_CAPTION = environ.get("CUSTOM_FILE_CAPTION", "Fɪʟᴇ ɴᴀᴍᴇ:{file_name}\n\n=========== • ✠ •\n===========\n◽️ ɢʀᴏᴜᴩ : @MovieBossTG\n◽️ ᴏᴡɴᴇʀ : @GT_ben\n=========== • ✠ •\n===========")
BATCH_FILE_CAPTION = environ.get("BATCH_FILE_CAPTION", CUSTOM_FILE_CAPTION)
IMDB_TEMPLATE = environ.get("IMDB_TEMPLATE", "Your Query: {query} \nIMDb Data by: @LazyDeveloper \n\n🏷 Title: {title}\n🎭 Genres: {genres}\n📆 Year: {year}\n🌟 Rating: {rating} / 10 \n\n♥️ we are nothing without you ♥️ \n\n💛 Please Share Us 💛\n\n⚠️Click on the button 👇 below to get your query privately")
LONG_IMDB_DESCRIPTION = is_enabled(environ.get("LONG_IMDB_DESCRIPTION", "False"), False)
From 07aa8711ea970f7013984e42c84259d414ff6a45 Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Sun, 2 Apr 2023 22:14:54 +0530
Subject: [PATCH 015/137] Update pm_filter.py
---
plugins/pm_filter.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 41d91bd5..7bc6449d 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -682,7 +682,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/lzymovie")
],[
InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
@@ -710,7 +710,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/lzymovie")
],[
InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
@@ -736,7 +736,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/lzymovie")
],[
InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
@@ -763,7 +763,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/lzymovie")
],[
InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
@@ -789,7 +789,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/{MOVIE_GROUP_USERNAME}")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/lzymovie")
],[
InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
From 09dd8bc3c124c9732384d52e0b149eeb7dad7abe Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Sun, 2 Apr 2023 23:38:08 +0530
Subject: [PATCH 016/137] Update pm_filter.py
---
plugins/pm_filter.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 7bc6449d..7921fe83 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -749,7 +749,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
]]
reply_markup_lzdv = InlineKeyboardMarkup(btn_lzdv)
reply_markup = InlineKeyboardMarkup(btn)
- await client.send_message(int(user_id), f"✅ Hey sona, Your requested content named `{movie}` is now available in our database! You can easily get this movie by searching it's correct name in our official group...\n\n❤ Thank You for the contribution", reply_markup=reply_markup)
+ await client.send_message(int(user_id), f"✅ Hey dude, Your requested content named `{movie}` is now available in our database! You can easily get this movie by searching it's correct name in our official group...\n\n❤ Thank You for the contribution", reply_markup=reply_markup)
await query.edit_message_text(text=f"- __**User notified successfully sweetie...✅**__\n\n⏳**Status** : Upload done ✅.\n🪪**UserID** : `{user_id}`\n🎞**Content** : `{movie}`\n\n\n🦋", reply_markup=reply_markup_lzdv)
# Delete callback query message
await query.answer()
@@ -789,7 +789,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/lzymovie")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ᴀɢᴀɪɴ 🔎", url=f"https://telegram.me/lzymovie")
],[
InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
@@ -802,7 +802,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
]]
reply_markup_lzdv = InlineKeyboardMarkup(btn_lzdv)
reply_markup = InlineKeyboardMarkup(btn)
- await client.send_message(int(user_id), f"🌍 Your spelling matters.\nThe requested content `{movie}` is available in our database, You were unable to get it because of your spelling mistake.🧐 Please make sure you've spelled correctly while searching content in group...\n\n❤Thank u for supporting us.", reply_markup=reply_markup)
+ await client.send_message(int(user_id), f"⚠️**ꜱᴩᴇʟʟɪɴɢ ᴇʀʀᴏʀ**\n\nനിങ്ങൾ ഇപ്പോൾ ചോദിച്ച **`{movie}`** സിനിമ ഗ്രൂപ്പിൽ ഉണ്ട്. പക്ഷെ നിങ്ങൾ SPELLING തെറ്റി ആണ് ചോദിച്ചത്. Spelling ശെരിയാക്കി വീണ്ടും ചോദിക്കുക\n\nᴛʜᴇ **`{movie}`** ᴍᴏᴠɪᴇ yᴏᴜ ᴊᴜꜱᴛ ᴀꜱᴋᴇᴅ ᴀʙᴏᴜᴛ ɪꜱ ɪɴ ᴛʜᴇ ɢʀᴏᴜᴩ. ʙᴜᴛ yᴏᴜ ꜱᴩᴇʟʟᴇᴅ ɪᴛ ᴡʀᴏɴɢ. ᴄᴏʀʀᴇᴄᴛ ᴛʜᴇ ꜱᴩᴇʟʟɪɴɢ ᴀɴᴅ ᴀꜱᴋ ᴀɢᴀɪɴ", reply_markup=reply_markup)
await query.edit_message_text(text=f"- __**User notified successfully sweetie...✅**__\n\n⏳**Status** : Spelling error 🖊.\n🪪**UserID** : `{user_id}`\n🎞**Content** : `{movie}`\n\n\n🦋",reply_markup=reply_markup_lzdv)
# Delete callback query message
await query.answer()
From 2aa6fd1bb0273bf4cd309e74b3dff43d74419d06 Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Mon, 3 Apr 2023 05:17:19 +0530
Subject: [PATCH 017/137] Update zzz_ai_LazyDeveloper.py
---
plugins/zzz_ai_LazyDeveloper.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/plugins/zzz_ai_LazyDeveloper.py b/plugins/zzz_ai_LazyDeveloper.py
index 6cb2f8a9..16c8629a 100644
--- a/plugins/zzz_ai_LazyDeveloper.py
+++ b/plugins/zzz_ai_LazyDeveloper.py
@@ -27,7 +27,6 @@ async def lazy_answer(client, message):
[InlineKeyboardButton(text=f"🗑 Delete log ❌", callback_data=f'close_data')],
]
reply_markup=InlineKeyboardMarkup(btn)
- footer_credit = "🦋• ʀᴇᴘᴏʀᴛ ɪꜱꜱᴜᴇ •══• ᴄᴏɴᴛᴀᴄᴛ ᴍᴀꜱᴛᴇʀ •🦋"
lazy_response = response.choices[0].text
await client.send_message(LAZY_AI_LOGS, text=f"⚡️⚡️#Lazy_AI_Query \n\n• A user named **{message.from_user.mention}** with user id - `{user_id}`. Asked me this query...\n\n══❚█══Q U E R Y══█❚══\n\n\n[Q྿.]**{lazy_users_message}**\n\n👇Here is what i responded:\n:-`{lazy_response}`\n\n\n❚═USER ID═❚═• `{user_id}` \n❚═USER Name═❚═• `{message.from_user.mention}` \n\n🗃️" , reply_markup = reply_markup )
await message.reply(f"{lazy_response}\n\n\n{footer_credit}")
From ef5fee4ae415f59bef5146c2ad8c431adb17b850 Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Mon, 3 Apr 2023 05:20:20 +0530
Subject: [PATCH 018/137] Update zzz_ai_LazyDeveloper.py
---
plugins/zzz_ai_LazyDeveloper.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/zzz_ai_LazyDeveloper.py b/plugins/zzz_ai_LazyDeveloper.py
index 16c8629a..5cbf1606 100644
--- a/plugins/zzz_ai_LazyDeveloper.py
+++ b/plugins/zzz_ai_LazyDeveloper.py
@@ -29,10 +29,10 @@ async def lazy_answer(client, message):
reply_markup=InlineKeyboardMarkup(btn)
lazy_response = response.choices[0].text
await client.send_message(LAZY_AI_LOGS, text=f"⚡️⚡️#Lazy_AI_Query \n\n• A user named **{message.from_user.mention}** with user id - `{user_id}`. Asked me this query...\n\n══❚█══Q U E R Y══█❚══\n\n\n[Q྿.]**{lazy_users_message}**\n\n👇Here is what i responded:\n:-`{lazy_response}`\n\n\n❚═USER ID═❚═• `{user_id}` \n❚═USER Name═❚═• `{message.from_user.mention}` \n\n🗃️" , reply_markup = reply_markup )
- await message.reply(f"{lazy_response}\n\n\n{footer_credit}")
+ await message.reply(f"{lazy_response}")
except Exception as error:
print(error)
- await message.reply_text(f'Error aa gya Lazy Bhaiya 😀\n\n{error}')
+ await message.reply_text(f'Eʀʀᴏʀ\n\n{error}')
else:
return
From 4271c0e142552201e96afbc532ac1b8034c63431 Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Mon, 3 Apr 2023 06:15:57 +0530
Subject: [PATCH 019/137] Update zzz_ai_LazyDeveloper.py
---
plugins/zzz_ai_LazyDeveloper.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/plugins/zzz_ai_LazyDeveloper.py b/plugins/zzz_ai_LazyDeveloper.py
index 5cbf1606..6cb2f8a9 100644
--- a/plugins/zzz_ai_LazyDeveloper.py
+++ b/plugins/zzz_ai_LazyDeveloper.py
@@ -27,12 +27,13 @@ async def lazy_answer(client, message):
[InlineKeyboardButton(text=f"🗑 Delete log ❌", callback_data=f'close_data')],
]
reply_markup=InlineKeyboardMarkup(btn)
+ footer_credit = "🦋• ʀᴇᴘᴏʀᴛ ɪꜱꜱᴜᴇ •══• ᴄᴏɴᴛᴀᴄᴛ ᴍᴀꜱᴛᴇʀ •🦋"
lazy_response = response.choices[0].text
await client.send_message(LAZY_AI_LOGS, text=f"⚡️⚡️#Lazy_AI_Query \n\n• A user named **{message.from_user.mention}** with user id - `{user_id}`. Asked me this query...\n\n══❚█══Q U E R Y══█❚══\n\n\n[Q྿.]**{lazy_users_message}**\n\n👇Here is what i responded:\n:-`{lazy_response}`\n\n\n❚═USER ID═❚═• `{user_id}` \n❚═USER Name═❚═• `{message.from_user.mention}` \n\n🗃️" , reply_markup = reply_markup )
- await message.reply(f"{lazy_response}")
+ await message.reply(f"{lazy_response}\n\n\n{footer_credit}")
except Exception as error:
print(error)
- await message.reply_text(f'Eʀʀᴏʀ\n\n{error}')
+ await message.reply_text(f'Error aa gya Lazy Bhaiya 😀\n\n{error}')
else:
return
From 2e335c1ee32b9f8aa90deeba58d91cf7136e5c41 Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Mon, 3 Apr 2023 17:01:18 +0530
Subject: [PATCH 020/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 7921fe83..a49b3406 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -1118,7 +1118,7 @@ async def auto_filter(client, msg, spoll=False):
[InlineKeyboardButton(text=f"😒Not Available", callback_data=f"notify_user_not_avail:{user_id}:{requested_movie}"),InlineKeyboardButton("❌Reject Req", callback_data=f"notify_user_req_rejected:{user_id}:{requested_movie}")],
]))
- l = await message.reply_text(text=f"△ 𝙷𝚎𝚢 𝚜𝚘𝚗𝚊 `{message.from_user.first_name}` 😎,\n\nʏᴏᴜʀ ʀᴇQᴜᴇꜱᴛ ʜᴀꜱ ʙᴇᴇɴ ꜱᴇɴᴛ ᴛᴏ ᴏᴜʀ **ᴀᴅᴍɪɴ'ꜱ ᴅᴀꜱʜʙᴏᴀʀᴅ** !\nᴘʟᴇᴀꜱᴇ ᴋᴇᴇᴘ ꜱᴏᴍᴇ ᴘᴀᴛɪᴇɴᴄᴇ !\nᴛʜᴇʏ ᴡɪʟʟ ᴜᴘʟᴏᴀᴅ ɪᴛ ᴀꜱ ꜱᴏᴏɴ ᴀꜱ ᴘᴏꜱꜱɪʙʟᴇ.\n\n➟ 📝𝘾𝙤𝙣𝙩𝙚𝙣𝙩 𝙣𝙖𝙢𝙚 : `{search}`\n➟ 👮𝙍𝙚𝙦𝙪𝙚𝙨𝙩𝙚𝙙 𝘽𝙮 : `{message.from_user.first_name}`\n\n༺ @{MAIN_CHANNEL_USRNM} ༻\n\n🦋・‥☆𝘼𝘿𝙈𝙞𝙉 𝙨𝙪𝙥𝙥𝙤𝙧𝙩☆‥・🦋\n╰┈➤・☆ @{ADMIN_USRNM}\n╰┈➤・☆ @LazyDeveloperr",
+ l = await message.reply_text(text=f"△ 𝙷𝚎𝚢 `{message.from_user.first_name}` 😎,\n\nനിങ്ങൾ ചോദിച്ച സിനിമ കണ്ടത്താൻ കഴിഞ്ഞില്ല താഴെ പറയുന്നത് ശ്രദ്ധിക്കുക\n\n**🔴നിങ്ങൾ അയച്ചത് ശെരിയായ SPELLING❗️ ആവണം\n🔴ഈ സിനിമ OTT യിൽ റിലീസ് ആയിരിക്കണം**\n\nഇത് രണ്ടും ശെരി ആണെങ്കിൽ 5 മിനുട്ടുനുള്ളിൽ ഈ സിനിമ നിങ്ങൾക് ലഭിക്കും💯\n\nᴛʜᴇ ᴍᴏᴠɪᴇ yᴏᴜ ʀᴇqᴜᴇꜱᴛᴇᴅ ᴄᴏᴜʟᴅ ɴᴏᴛ ʙᴇ ꜰᴏᴜɴᴅ ᴩʟᴇᴀꜱᴇ ɴᴏᴛᴇ ʙᴇʟᴏᴡ\n\n**🔴ᴡʜᴀᴛ yᴏᴜ ꜱᴇɴᴛ ᴍᴜꜱᴛ ʙᴇ ᴄᴏʀʀᴇᴄᴛ ꜱᴩᴇʟʟɪɴɢ\n🔴ᴛʜɪꜱ ᴍᴏᴠɪᴇ ꜱʜᴏᴜʟᴅ ʙᴇ ʀᴇʟᴇᴀꜱᴇᴅ ᴏɴ ᴏᴛᴛ**\n\nɪꜰ ʙᴏᴛʜ ᴏꜰ ᴛʜᴇꜱᴇ ᴀʀᴇ ᴄᴏʀʀᴇᴄᴛ ᴛʜᴇɴ yᴏᴜ ᴡɪʟʟ ɢᴇᴛ ᴛʜɪꜱ ᴍᴏᴠɪᴇ ᴡɪᴛʜɪɴ 5 ᴍɪɴᴜᴛᴇꜱ💯\n\n**ᴍᴏᴠɪᴇ ɴᴀᴍᴇ** : `{search}`\n**ʀᴇqᴜᴇꜱᴛᴇᴅ ʙy** : `{message.from_user.first_name}`",
reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🔺 Cʟᴏꜱᴇ 🔺", callback_data="close_data")]]))
await asyncio.sleep(20)
await l.delete()
From a424f1008ced2144c4ef33ccf19047c9216c87dd Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Mon, 3 Apr 2023 17:23:54 +0530
Subject: [PATCH 021/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index a49b3406..9a5d8d22 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -695,7 +695,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
]]
reply_markup_lzdv = InlineKeyboardMarkup(btn_lzdv)
reply_markup = InlineKeyboardMarkup(btn)
- await client.send_message(int(user_id), f"😒 oops! sona, Your requested content named `{movie}` is not available right now, we are really trying our best to serve you this cotent,can you please provide us some more details related to your query {movie}, \nSend details to Admin : **Send here...**\n\n❤ Thank You for the contribution", reply_markup=reply_markup)
+ await client.send_message(int(user_id), f"**ɴᴏᴛ ʀᴇʟᴇᴀꜱᴇ ɪɴ ᴏᴛᴛ❗️**\n\nനിങ്ങൾ ഇപ്പോൾ ചോദിച്ച `{movie}` സിനിമ OTT യിൽ റിലീസ് ആയിട്ടില്ല. അതുകൊണ്ടാണ് നിങ്ങൾക് സിനിമ ലഭിക്കാത്തത്.OTT യിൽ റിലീസ് ആയ സിനിമ മാത്രം ചോദിക്കാൻ ശ്രമിക്കുക\n\nᴛʜᴇ `{movie}` ᴍᴏᴠɪᴇ yᴏᴜ ᴊᴜꜱᴛ ᴀꜱᴋᴇᴅ ᴀʙᴏᴜᴛ ʜᴀꜱ ɴᴏᴛ ʙᴇᴇɴ ʀᴇʟᴇᴀꜱᴇᴅ ᴏɴ ᴏᴛᴛ. ᴛʜᴀᴛ'ꜱ ᴡʜy yᴏᴜ ᴅᴏɴ'ᴛ ɢᴇᴛ ᴛʜᴀ ᴍᴏᴠɪᴇ.ᴛʀy ᴛᴏ ᴀꜱᴋ ꜰᴏʀ ᴏᴛᴛ ʀᴇʟᴇᴀꜱᴇᴅ ᴍᴏᴠɪᴇꜱ ᴏɴʟy\n\nᴛʜᴀɴᴋ yᴏᴜ💝", reply_markup=reply_markup)
await query.edit_message_text(text=f"- __**User notified successfully sweetie...✅**__\n\n⏳**Status** : Not Available 😒.\n🪪**UserID** : `{user_id}`\n🎞**Content** : `{movie}`\n\n\n🦋",reply_markup=reply_markup_lzdv)
# Delete callback query message
await query.answer()
From 2a49ccf58dcbabadf3d1bfe74509cb197dd8c206 Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Mon, 3 Apr 2023 17:32:10 +0530
Subject: [PATCH 022/137] Update pm_filter.py
---
plugins/pm_filter.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 9a5d8d22..6574da54 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -682,7 +682,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/lzymovie")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/+9CKK8DlZlgUxOTE9")
],[
InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
@@ -710,7 +710,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/lzymovie")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/+9CKK8DlZlgUxOTE9")
],[
InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
@@ -736,7 +736,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/lzymovie")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/+9CKK8DlZlgUxOTE9")
],[
InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
@@ -763,7 +763,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/lzymovie")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ʜᴇʀᴇ 🔎", url=f"https://telegram.me/+9CKK8DlZlgUxOTE9")
],[
InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
@@ -789,7 +789,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
# Send message to user
try:
btn = [[
- InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ᴀɢᴀɪɴ 🔎", url=f"https://telegram.me/lzymovie")
+ InlineKeyboardButton(text=f"🔍 ꜱᴇᴀʀᴄʜ ᴀɢᴀɪɴ 🔎", url=f"https://telegram.me/+9CKK8DlZlgUxOTE9")
],[
InlineKeyboardButton(text=f"🐞 ʀᴇᴩᴏʀᴛ ɪꜱꜱᴜᴇꜱ 🐞", url=f"https://telegram.me/GT_ben")
],[
From 4d3ecfcaaf79316bab6da10d24db0705c43c6205 Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Mon, 3 Apr 2023 17:54:25 +0530
Subject: [PATCH 023/137] Update pm_filter.py
---
plugins/pm_filter.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 6574da54..a157fb5d 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -623,7 +623,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
)
elif query.data == "about":
buttons = [[
- InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9'),
+ InlineKeyboardButton('◽️ʙᴀᴄᴋᴜᴩ ɢʀᴏᴜᴩ', url='https://t.me/MovieBossTG'),
InlineKeyboardButton('◽️ᴏᴛʜᴇʀ', callback_data='source')
], [
InlineKeyboardButton('🏠 Home', callback_data='start'),
@@ -722,7 +722,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
]]
reply_markup_lzdv = InlineKeyboardMarkup(btn_lzdv)
reply_markup = InlineKeyboardMarkup(btn)
- await client.send_message(int(user_id), f"🛋 Hey sona, Your requested content named `{movie}` is already available in our database! You can easily get this movie by searching it's correct name in our official group...\nSend details to Admin : \n\n❤ Thank You for the contribution", reply_markup=reply_markup)
+ await client.send_message(int(user_id), f"🛋 Hey dude, Your requested content named `{movie}` is already available in our database! You can easily get this movie by searching it's correct name in our official group...\nSend details to Admin : \n\n❤ Thank You for the contribution", reply_markup=reply_markup)
await query.edit_message_text(text=f"- __**User notified successfully sweetie...✅**__\n\n⏳**Status** : Already Uploaded ⚡.\n🪪**UserID** : `{user_id}`\n🎞**Content** : `{movie}`\n\n\n🦋",reply_markup=reply_markup_lzdv)
# Delete callback query message
await query.answer()
@@ -1219,7 +1219,7 @@ async def auto_filter(client, msg, spoll=False):
btn.insert(0,
[
- InlineKeyboardButton(text="⚡ʜᴏᴡ 2 ᴅᴏᴡɴʟᴏᴀᴅ⚡", url='https://telegram.me/LazyDeveloper'),
+ InlineKeyboardButton(text="⚡ʙᴀᴄᴋᴜᴩ ᴄʜᴀɴɴᴇʟ⚡", url='https://telegram.me/MovieBossTG'),
]
)
if offset != "":
From c9f82b73fafad55358ea843206d822a723bebb97 Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Fri, 7 Apr 2023 06:13:38 +0530
Subject: [PATCH 024/137] Update commands.py
---
plugins/commands.py | 29 ++++++++---------------------
1 file changed, 8 insertions(+), 21 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index d3107606..c859ea14 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -65,31 +65,18 @@ async def start(client, message):
except ChatAdminRequired:
logger.error("ʜᴇy ᴅᴜᴅᴇ ᴄʜᴇᴄᴋ ᴏɴᴄᴇ ɪꜰ yᴏᴜ ᴀᴅᴅᴇᴅ ᴍᴇ ɪɴ ᴄʜᴀɴɴᴇʟ ᴏʀ ɴᴏᴛᴇ...!")
return
- btn = [
- [
- InlineKeyboardButton(
- "🔺ᴊᴏɪɴ ʙᴀᴄᴋᴜᴩ ᴄʜᴀɴɴᴇʟ", url=invite_link.invite_link
- )
- ],
- [
- InlineKeyboardButton(
- "🦋 SUBSCRIBE YT Channel 🦋", url='https://youtube.com/@LazyDeveloperr'
- )
- ]
- ]
-
if message.command[1] != "subscribe":
- try:
- kk, file_id = message.command[1].split("_", 1)
- pre = 'checksubp' if kk == 'filep' else 'checksub'
- btn.append([InlineKeyboardButton(" ᴛʀy ᴀɢᴀɪɴ♻️", callback_data=f"{pre}#{file_id}")])
- except (IndexError, ValueError):
- btn.append([InlineKeyboardButton(" ᴛʀy ᴀɢᴀɪɴ♻️", url=f"https://t.me/{temp.U_NAME}?start={message.command[1]}")])
+ kk, file_id = message.command[1].split("_", 1)
+ pre = 'checksubp' if kk == 'filep' else 'checksub'
+ btn = [[InlineKeyboardButton("ᴊᴏɪɴ ɢʀᴏᴜᴩ", url=invite_link.invite_link),
+ InlineKeyboardButton("ᴍᴇ ᴊᴏɪɴᴇᴅ", callback_data=f"{pre}#{file_id}")],[
+ InlineKeyboardButton("Hᴇʏ Bᴏᴛ....! Wʜʏ I'ᴍ ᴊᴏɪɴɪɴɢ", callback_data="neosub")]]
await client.send_message(
chat_id=message.from_user.id,
- text="**ᴩʟᴇᴀꜱᴇ ᴊᴏɪɴ ᴏᴜʀ ʙᴀᴄᴋᴜᴩ ᴄʜᴀɴɴᴇʟ!**",
+ text="⚠️ ᴘʟᴇᴀsᴇ ғᴏʟʟᴏᴡ ᴛʜɪs ʀᴜʟᴇs ⚠️\n\n{} ആദ്യം【 ᴊᴏɪɴ ɢʀᴏᴜᴘ 】എന്ന ബട്ടൺ ക്ലിക്ക് ചെയ്തു ഗ്രൂപ്പിൽ ജോയിൻ ചെയ്.. എന്നിട്ട് വീണ്ടു ബോട്ടിൽ വന്നിട്ട്【 ᴍᴇ ᴊᴏɪɴᴇᴅ 】എന്ന ബട്ടൺ ക്ലിക്ക് ചെയ്താൽ ഫയൽ കിട്ടുന്നതായിരിക്കും\n\nFɪʀsᴛ ᴄʟɪᴄᴋ ᴏɴ ᴛʜᴇ【 ᴊᴏɪɴ ɢʀᴏᴜᴘ 】ʙᴜᴛᴛᴏɴ ᴀɴᴅ ᴊᴏɪɴ ᴛʜᴇ ɢʀᴏᴜᴘ. ᴛʜᴇɴ ᴄᴏᴍᴇ ʙᴀᴄᴋ ᴛᴏ ᴛʜᴇ ʙᴏᴛ ᴄʟɪᴄᴋ ᴏɴ【 ᴍᴇ ᴊᴏɪɴᴇᴅ 】ʙᴜᴛᴛᴏɴ ᴛᴏ ɢᴇᴛ ᴛʜᴇ ғɪʟᴇ...".format(message.from_user.mention),
reply_markup=InlineKeyboardMarkup(btn),
- parse_mode=enums.ParseMode.MARKDOWN
+ parse_mode="html",
+ disable_web_page_preview=True
)
return
if len(message.command) == 2 and message.command[1] in ["subscribe", "error", "okay", "help"]:
From 27063bbcb530eb0109593022ceb4b881c87f4c3f Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Fri, 7 Apr 2023 06:14:54 +0530
Subject: [PATCH 025/137] Update commands.py
---
plugins/commands.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index c859ea14..ddb0b3fe 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -75,7 +75,7 @@ async def start(client, message):
chat_id=message.from_user.id,
text="⚠️ ᴘʟᴇᴀsᴇ ғᴏʟʟᴏᴡ ᴛʜɪs ʀᴜʟᴇs ⚠️\n\n{} ആദ്യം【 ᴊᴏɪɴ ɢʀᴏᴜᴘ 】എന്ന ബട്ടൺ ക്ലിക്ക് ചെയ്തു ഗ്രൂപ്പിൽ ജോയിൻ ചെയ്.. എന്നിട്ട് വീണ്ടു ബോട്ടിൽ വന്നിട്ട്【 ᴍᴇ ᴊᴏɪɴᴇᴅ 】എന്ന ബട്ടൺ ക്ലിക്ക് ചെയ്താൽ ഫയൽ കിട്ടുന്നതായിരിക്കും\n\nFɪʀsᴛ ᴄʟɪᴄᴋ ᴏɴ ᴛʜᴇ【 ᴊᴏɪɴ ɢʀᴏᴜᴘ 】ʙᴜᴛᴛᴏɴ ᴀɴᴅ ᴊᴏɪɴ ᴛʜᴇ ɢʀᴏᴜᴘ. ᴛʜᴇɴ ᴄᴏᴍᴇ ʙᴀᴄᴋ ᴛᴏ ᴛʜᴇ ʙᴏᴛ ᴄʟɪᴄᴋ ᴏɴ【 ᴍᴇ ᴊᴏɪɴᴇᴅ 】ʙᴜᴛᴛᴏɴ ᴛᴏ ɢᴇᴛ ᴛʜᴇ ғɪʟᴇ...".format(message.from_user.mention),
reply_markup=InlineKeyboardMarkup(btn),
- parse_mode="html",
+ parse_mode=enums.ParseMode.HTML,
disable_web_page_preview=True
)
return
From f00051ddda8a6fa1b0888dd6be41d7667b55a5a7 Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Fri, 7 Apr 2023 06:21:49 +0530
Subject: [PATCH 026/137] Update pm_filter.py
---
plugins/pm_filter.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index a157fb5d..bf505c26 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -603,7 +603,8 @@ async def cb_handler(client: Client, query: CallbackQuery):
reply_markup=reply_markup,
parse_mode=enums.ParseMode.HTML
)
- await query.answer('♥️ Thank You LazyDeveloper ♥️')
+ elif query.data == "neosub":
+
elif query.data == "help":
buttons = [[
InlineKeyboardButton('Manual Filter', callback_data='manuelfilter'),
From 82d062d4372883141e72a7f59f46dc28f69ae5db Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Fri, 7 Apr 2023 06:24:04 +0530
Subject: [PATCH 027/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index bf505c26..d7cb07b9 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -604,7 +604,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
parse_mode=enums.ParseMode.HTML
)
elif query.data == "neosub":
-
+ await query.answer("അഥവാ ഗ്രൂപ്പ് കോപ്പിറൈറ് കിട്ടി പോയാൽ.. പുതിയ ഗ്രൂപ്പ് തുടങ്ങുമ്പോൾ ഇപ്പോൾ ജോയിൻ ആകുന്ന ചാനൽ വഴി ആയിരിക്കും അറിയിക്കുന്നത് 🤥", show_alert=True)
elif query.data == "help":
buttons = [[
InlineKeyboardButton('Manual Filter', callback_data='manuelfilter'),
From c1e4c9c48370ce891f458991ffbc31de6fedba8f Mon Sep 17 00:00:00 2001
From: alappu280 <126592884+alappu280@users.noreply.github.com>
Date: Mon, 10 Apr 2023 19:45:53 +0530
Subject: [PATCH 028/137] Delete index.py
---
plugins/index.py | 238 -----------------------------------------------
1 file changed, 238 deletions(-)
delete mode 100644 plugins/index.py
diff --git a/plugins/index.py b/plugins/index.py
deleted file mode 100644
index c74ca7a9..00000000
--- a/plugins/index.py
+++ /dev/null
@@ -1,238 +0,0 @@
-import logging
-import asyncio
-from pyrogram import Client, filters, enums
-from pyrogram.errors import FloodWait
-from pyrogram.errors.exceptions.bad_request_400 import ChannelInvalid, ChatAdminRequired, UsernameInvalid, UsernameNotModified
-from info import ADMINS, LAZY_RENAMERS
-from info import INDEX_REQ_CHANNEL as LOG_CHANNEL
-from info import LAZY_MODE
-from database.ia_filterdb import save_file
-from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton
-from utils import temp
-import re
-import humanize
-from info import ADMINS
-
-logger = logging.getLogger(__name__)
-logger.setLevel(logging.INFO)
-lock = asyncio.Lock()
-
-
-@Client.on_callback_query(filters.regex(r'^index'))
-async def index_files(bot, query):
- if query.data.startswith('index_cancel'):
- temp.CANCEL = True
- return await query.answer("Cancelling Indexing")
- _, raju, chat, lst_msg_id, from_user = query.data.split("#")
- if raju == 'reject':
- await query.message.delete()
- await bot.send_message(int(from_user),
- f'Your Submission for indexing {chat} has been decliened by our moderators.',
- reply_to_message_id=int(lst_msg_id))
- return
-
- if lock.locked():
- return await query.answer('Wait until previous process complete.', show_alert=True)
- msg = query.message
-
- await query.answer('Processing...⏳', show_alert=True)
- if int(from_user) not in ADMINS:
- await bot.send_message(int(from_user),
- f'Your Submission for indexing {chat} has been accepted by our moderators and will be added soon.',
- reply_to_message_id=int(lst_msg_id))
- await msg.edit(
- "Starting Indexing",
- reply_markup=InlineKeyboardMarkup(
- [[InlineKeyboardButton('Cancel', callback_data='index_cancel')]]
- )
- )
- try:
- chat = int(chat)
- except:
- chat = chat
- await index_files_to_db(int(lst_msg_id), chat, msg, bot)
-
-
-@Client.on_message((filters.forwarded | (filters.regex("(https://)?(t\.me/|telegram\.me/|telegram\.dog/)(c/)?(\d+|[a-zA-Z_0-9]+)/(\d+)$")) & filters.text ) & filters.private & filters.incoming)
-async def send_for_index(bot, message):
- if message.text:
- regex = re.compile("(https://)?(t\.me/|telegram\.me/|telegram\.dog/)(c/)?(\d+|[a-zA-Z_0-9]+)/(\d+)$")
- match = regex.match(message.text)
- if not match:
- return await message.reply('Invalid link')
- chat_id = match.group(4)
- last_msg_id = int(match.group(5))
- if chat_id.isnumeric():
- chat_id = int(("-100" + chat_id))
- elif message.forward_from_chat.type == enums.ChatType.CHANNEL:
- last_msg_id = message.forward_from_message_id
- chat_id = message.forward_from_chat.username or message.forward_from_chat.id
- else:
- return
- try:
- await bot.get_chat(chat_id)
- except ChannelInvalid:
- return await message.reply('This may be a private channel / group. Make me an admin over there to index the files.')
- except (UsernameInvalid, UsernameNotModified):
- return await message.reply('Invalid Link specified.')
- except Exception as e:
- logger.exception(e)
- return await message.reply(f'Errors - {e}')
- try:
- k = await bot.get_messages(chat_id, last_msg_id)
- except:
- return await message.reply('Make Sure That i am An Admin In The Channel, if channel is private')
- if k.empty:
- return await message.reply('This may be group and i am not a admin of the group.')
-
- if message.from_user.id in ADMINS:
- if (LAZY_MODE==True):
- file = getattr(message, message.media.value)
- filename = file.file_name
- filesize = humanize.naturalsize(file.file_size)
- buttons = [
- [ InlineKeyboardButton("ʀᴇɴᴀᴍᴇ", callback_data="rename") ],
- [ InlineKeyboardButton('ꜱᴛᴀʀᴛ ɪɴᴅᴇx',callback_data=f'index#accept#{chat_id}#{last_msg_id}#{message.from_user.id}')],
- [ InlineKeyboardButton('ᴄʟᴏꜱᴇ', callback_data='cancel'),]
- ]
- reply_markup = InlineKeyboardMarkup(buttons)
- return await message.reply(
- f'\n⨳ *•.¸♡ LΛZ𝐲 MⓄd𝓔 ♡¸.•* ⨳\n\n**__What do you want me to do with this file.?__**\n\n🪬Chat ID/ Username: {chat_id}
\nℹ️Last Message ID: {last_msg_id}
\n\n🎞**File Name** :- `{filename}`\n\n⚙️**File Size** :- `{filesize}`',
- reply_to_message_id=message.id,
- reply_markup=reply_markup)
- else:
- buttons = [
- [
- InlineKeyboardButton('Yes',
- callback_data=f'index#accept#{chat_id}#{last_msg_id}#{message.from_user.id}')
- ],
- [
- InlineKeyboardButton('ᴄʟᴏꜱᴇ', callback_data='close_data'),
- ]
- ]
- reply_markup = InlineKeyboardMarkup(buttons)
- return await message.reply(
- f'Do you Want To Index This Channel/ Group ?\n\nChat ID/ Username: {chat_id}
\nLast Message ID: {last_msg_id}
',
- reply_markup=reply_markup)
-
- if type(chat_id) is int:
- try:
- link = (await bot.create_chat_invite_link(chat_id)).invite_link
- except ChatAdminRequired:
- return await message.reply('Make sure i am an admin in the chat and have permission to invite users.')
- else:
- link = f"@{message.forward_from_chat.username}"
- buttons = [
- [
- InlineKeyboardButton('Request Index',
- callback_data=f'index#accept#{chat_id}#{last_msg_id}#{message.from_user.id}')
- ],
- [
- InlineKeyboardButton('Reject Index',
- callback_data=f'index#reject#{chat_id}#{message.id}#{message.from_user.id}'),
- ]
- ]
- reply_markup = InlineKeyboardMarkup(buttons)
- await bot.send_message(LOG_CHANNEL,
- f'#IndexRequest\n\nBy : {message.from_user.mention} ({message.from_user.id}
)\nChat ID/ Username - {chat_id}
\nLast Message ID - {last_msg_id}
\nInviteLink - {link}',
- reply_markup=reply_markup)
- if (LAZY_MODE == True):
- if message.from_user.id in LAZY_RENAMERS:
- k = await message.reply('🎉\n\n\n❤️ Thank You For the Contribution, Wait For My Moderators to verify the files.\n\n\n🎁')
- buttons = [
- [InlineKeyboardButton("ʀᴇɴᴀᴍᴇ", callback_data="rename") ],
- [InlineKeyboardButton('ᴄʟᴏꜱᴇ', callback_data='cancel')]]
- reply_markup = InlineKeyboardMarkup(buttons)
- file = getattr(message, message.media.value)
- filename = file.file_name
- filesize = humanize.naturalsize(file.file_size)
- await message.reply(
- f".\n⨳ *•.¸♡ LΛZ𝐲 MⓄd𝓔 ♡¸.•* ⨳\n\nBecause you are an Authentic user, please don't hesitate to ask me for any other help...\n\n🪬Chat ID/ Username: {chat_id}
\nℹ️Last Message ID: {last_msg_id}
\n\n🎞**File Name** :- `{filename}`\n\n⚙️**File Size** :- `{filesize}`\n\nYou can simply close this window or perform following actions, it's upon you",
- reply_to_message_id=message.id,
- reply_markup=reply_markup)
- await asyncio.sleep(600)
- await k.delete()
- else :
- await message.reply('🎉\n\n\n❤️ Thank You For the Contribution, Wait For My Moderators to verify the files.\n\n\n🎁')
- buttons = [
- [InlineKeyboardButton("ʀᴇɴᴀᴍᴇ", callback_data="requireauth") ],
- [InlineKeyboardButton('ᴄʟᴏꜱᴇ', callback_data='cancel')]]
- reply_markup = InlineKeyboardMarkup(buttons)
- file = getattr(message, message.media.value)
- filename = file.file_name
- filesize = humanize.naturalsize(file.file_size)
- k = await message.reply(
- f"\n⨳ *•.¸♡ LΛZ𝐲 MⓄd𝓔 ♡¸.•* ⨳\n\n🤩 Do you know LazyPrincess can do a lot of things at a time...\nWould you like to try some of it's amazing features... \n\n🪬Chat ID/ Username: {chat_id}
\nℹ️Last Message ID: {last_msg_id}
\n\n🎞**File Name** :- `{filename}`\n\n⚙️**File Size** :- `{filesize}`",
- reply_to_message_id=message.id,
- reply_markup=reply_markup)
- await asyncio.sleep(600)
- await k.delete()
- else:
- await message.reply('🎉\n\n\n❤️ Thank You For the Contribution, Wait For My Moderators to verify the files.\n\n\n🎁')
-
-
-
-
-@Client.on_message(filters.command('setskip') & filters.user(ADMINS))
-async def set_skip_number(bot, message):
- if ' ' in message.text:
- _, skip = message.text.split(" ")
- try:
- skip = int(skip)
- except:
- return await message.reply("Skip number should be an integer.")
- await message.reply(f"Successfully set SKIP number as {skip}")
- temp.CURRENT = int(skip)
- else:
- await message.reply("Give me a skip number")
-
-
-async def index_files_to_db(lst_msg_id, chat, msg, bot):
- total_files = 0
- duplicate = 0
- errors = 0
- deleted = 0
- no_media = 0
- unsupported = 0
- async with lock:
- try:
- current = temp.CURRENT
- temp.CANCEL = False
- async for message in bot.iter_messages(chat, lst_msg_id, temp.CURRENT):
- if temp.CANCEL:
- await msg.edit(f"Successfully Cancelled!!\n\nSaved {total_files}
files to dataBase!\nDuplicate Files Skipped: {duplicate}
\nDeleted Messages Skipped: {deleted}
\nNon-Media messages skipped: {no_media + unsupported}
(Unsupported Media - `{unsupported}` )\nErrors Occurred: {errors}
")
- break
- current += 1
- if current % 20 == 0:
- can = [[InlineKeyboardButton('Cancel', callback_data='index_cancel')]]
- reply = InlineKeyboardMarkup(can)
- await msg.edit_text(
- text=f"Total messages fetched: {current}
\nTotal messages saved: {total_files}
\nDuplicate Files Skipped: {duplicate}
\nDeleted Messages Skipped: {deleted}
\nNon-Media messages skipped: {no_media + unsupported}
(Unsupported Media - `{unsupported}` )\nErrors Occurred: {errors}
",
- reply_markup=reply)
- if message.empty:
- deleted += 1
- continue
- elif not message.media:
- no_media += 1
- continue
- elif message.media not in [enums.MessageMediaType.VIDEO, enums.MessageMediaType.AUDIO, enums.MessageMediaType.DOCUMENT]:
- unsupported += 1
- continue
- media = getattr(message, message.media.value, None)
- if not media:
- unsupported += 1
- continue
- media.file_type = message.media.value
- media.caption = message.caption
- aynav, vnay = await save_file(media)
- if aynav:
- total_files += 1
- elif vnay == 0:
- duplicate += 1
- elif vnay == 2:
- errors += 1
- except Exception as e:
- logger.exception(e)
- await msg.edit(f'Error: {e}')
- else:
- await msg.edit(f'Succesfully saved {total_files}
to dataBase!\nDuplicate Files Skipped: {duplicate}
\nDeleted Messages Skipped: {deleted}
\nNon-Media messages skipped: {no_media + unsupported}
(Unsupported Media - `{unsupported}` )\nErrors Occurred: {errors}
')
From a6d43d895e483ccf913165fa5524687a1e62016d Mon Sep 17 00:00:00 2001
From: alappu280 <126592884+alappu280@users.noreply.github.com>
Date: Mon, 10 Apr 2023 19:46:49 +0530
Subject: [PATCH 029/137] Create index.py
---
plugins/index.py | 185 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 185 insertions(+)
create mode 100644 plugins/index.py
diff --git a/plugins/index.py b/plugins/index.py
new file mode 100644
index 00000000..62247659
--- /dev/null
+++ b/plugins/index.py
@@ -0,0 +1,185 @@
+import logging
+import asyncio
+from pyrogram import Client, filters, enums
+from pyrogram.errors import FloodWait
+from pyrogram.errors.exceptions.bad_request_400 import ChannelInvalid, ChatAdminRequired, UsernameInvalid, UsernameNotModified
+from info import ADMINS, LAZY_RENAMERS
+from info import INDEX_REQ_CHANNEL as LOG_CHANNEL
+from database.ia_filterdb import save_file
+from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton
+from utils import temp
+import re
+logger = logging.getLogger(__name__)
+logger.setLevel(logging.INFO)
+lock = asyncio.Lock()
+
+
+@Client.on_callback_query(filters.regex(r'^index'))
+async def index_files(bot, query):
+ if query.data.startswith('index_cancel'):
+ temp.CANCEL = True
+ return await query.answer("Cancelling Indexing")
+ _, raju, chat, lst_msg_id, from_user = query.data.split("#")
+ if raju == 'reject':
+ await query.message.delete()
+ await bot.send_message(int(from_user),
+ f'Your Submission for indexing {chat} has been decliened by our moderators.',
+ reply_to_message_id=int(lst_msg_id))
+ return
+
+ if lock.locked():
+ return await query.answer('Wait until previous process complete.', show_alert=True)
+ msg = query.message
+
+ await query.answer('Processing...⏳', show_alert=True)
+ if int(from_user) not in ADMINS:
+ await bot.send_message(int(from_user),
+ f'Your Submission for indexing {chat} has been accepted by our moderators and will be added soon.',
+ reply_to_message_id=int(lst_msg_id))
+ await msg.edit(
+ "Starting Indexing",
+ reply_markup=InlineKeyboardMarkup(
+ [[InlineKeyboardButton('Cancel', callback_data='index_cancel')]]
+ )
+ )
+ try:
+ chat = int(chat)
+ except:
+ chat = chat
+ await index_files_to_db(int(lst_msg_id), chat, msg, bot)
+
+
+@Client.on_message((filters.forwarded | (filters.regex("(https://)?(t\.me/|telegram\.me/|telegram\.dog/)(c/)?(\d+|[a-zA-Z_0-9]+)/(\d+)$")) & filters.text ) & filters.private & filters.incoming)
+async def send_for_index(bot, message):
+ if message.text:
+ regex = re.compile("(https://)?(t\.me/|telegram\.me/|telegram\.dog/)(c/)?(\d+|[a-zA-Z_0-9]+)/(\d+)$")
+ match = regex.match(message.text)
+ if not match:
+ return await message.reply('Invalid link')
+ chat_id = match.group(4)
+ last_msg_id = int(match.group(5))
+ if chat_id.isnumeric():
+ chat_id = int(("-100" + chat_id))
+ elif message.forward_from_chat.type == enums.ChatType.CHANNEL:
+ last_msg_id = message.forward_from_message_id
+ chat_id = message.forward_from_chat.username or message.forward_from_chat.id
+ else:
+ return
+ try:
+ await bot.get_chat(chat_id)
+ except ChannelInvalid:
+ return await message.reply('This may be a private channel / group. Make me an admin over there to index the files.')
+ except (UsernameInvalid, UsernameNotModified):
+ return await message.reply('Invalid Link specified.')
+ except Exception as e:
+ logger.exception(e)
+ return await message.reply(f'Errors - {e}')
+ try:
+ k = await bot.get_messages(chat_id, last_msg_id)
+ except:
+ return await message.reply('Make Sure That Iam An Admin In The Channel, if channel is private')
+ if k.empty:
+ return await message.reply('This may be group and iam not a admin of the group.')
+
+ if message.from_user.id in ADMINS:
+ buttons = [
+ [
+ InlineKeyboardButton('Yes',
+ callback_data=f'index#accept#{chat_id}#{last_msg_id}#{message.from_user.id}')
+ ],
+ [
+ InlineKeyboardButton('close', callback_data='close_data'),
+ ]
+ ]
+ reply_markup = InlineKeyboardMarkup(buttons)
+ return await message.reply(
+ f'Do you Want To Index This Channel/ Group ?\n\nChat ID/ Username: {chat_id}
\nLast Message ID: {last_msg_id}
',
+ reply_markup=reply_markup)
+
+ if type(chat_id) is int:
+ try:
+ link = (await bot.create_chat_invite_link(chat_id)).invite_link
+ except ChatAdminRequired:
+ return await message.reply('Make sure iam an admin in the chat and have permission to invite users.')
+ else:
+ link = f"@{message.forward_from_chat.username}"
+ buttons = [
+ [
+ InlineKeyboardButton('Accept Index',
+ callback_data=f'index#accept#{chat_id}#{last_msg_id}#{message.from_user.id}')
+ ],
+ [
+ InlineKeyboardButton('Reject Index',
+ callback_data=f'index#reject#{chat_id}#{message.id}#{message.from_user.id}'),
+ ]
+ ]
+ reply_markup = InlineKeyboardMarkup(buttons)
+ await bot.send_message(LOG_CHANNEL,
+ f'#IndexRequest\n\nBy : {message.from_user.mention} ({message.from_user.id}
)\nChat ID/ Username - {chat_id}
\nLast Message ID - {last_msg_id}
\nInviteLink - {link}',
+ reply_markup=reply_markup)
+ await message.reply('ThankYou For the Contribution, Wait For My Moderators to verify the files.')
+
+
+@Client.on_message(filters.command('setskip') & filters.user(ADMINS))
+async def set_skip_number(bot, message):
+ if ' ' in message.text:
+ _, skip = message.text.split(" ")
+ try:
+ skip = int(skip)
+ except:
+ return await message.reply("Skip number should be an integer.")
+ await message.reply(f"Successfully set SKIP number as {skip}")
+ temp.CURRENT = int(skip)
+ else:
+ await message.reply("Give me a skip number")
+
+
+async def index_files_to_db(lst_msg_id, chat, msg, bot):
+ total_files = 0
+ duplicate = 0
+ errors = 0
+ deleted = 0
+ no_media = 0
+ unsupported = 0
+ async with lock:
+ try:
+ current = temp.CURRENT
+ temp.CANCEL = False
+ async for message in bot.iter_messages(chat, lst_msg_id, temp.CURRENT):
+ if temp.CANCEL:
+ await msg.edit(f"Successfully Cancelled!!\n\nSaved {total_files}
files to dataBase!\nDuplicate Files Skipped: {duplicate}
\nDeleted Messages Skipped: {deleted}
\nNon-Media messages skipped: {no_media + unsupported}
(Unsupported Media - `{unsupported}` )\nErrors Occurred: {errors}
")
+ break
+ current += 1
+ if current % 20 == 0:
+ can = [[InlineKeyboardButton('Cancel', callback_data='index_cancel')]]
+ reply = InlineKeyboardMarkup(can)
+ await msg.edit_text(
+ text=f"Total messages fetched: {current}
\nTotal messages saved: {total_files}
\nDuplicate Files Skipped: {duplicate}
\nDeleted Messages Skipped: {deleted}
\nNon-Media messages skipped: {no_media + unsupported}
(Unsupported Media - `{unsupported}` )\nErrors Occurred: {errors}
",
+ reply_markup=reply)
+ if message.empty:
+ deleted += 1
+ continue
+ elif not message.media:
+ no_media += 1
+ continue
+ elif message.media not in [enums.MessageMediaType.VIDEO, enums.MessageMediaType.AUDIO, enums.MessageMediaType.DOCUMENT]:
+ unsupported += 1
+ continue
+ media = getattr(message, message.media.value, None)
+ if not media:
+ unsupported += 1
+ continue
+ media.file_type = message.media.value
+ media.caption = message.caption
+ aynav, vnay = await save_file(media)
+ if aynav:
+ total_files += 1
+ elif vnay == 0:
+ duplicate += 1
+ elif vnay == 2:
+ errors += 1
+ except Exception as e:
+ logger.exception(e)
+ await msg.edit(f'Error: {e}')
+ else:
+ await msg.edit(f'Succesfully saved {total_files}
to dataBase!\nDuplicate Files Skipped: {duplicate}
\nDeleted Messages Skipped: {deleted}
\nNon-Media messages skipped: {no_media + unsupported}
(Unsupported Media - `{unsupported}` )\nErrors Occurred: {errors}
')
From 9dc26382da71423dbc51a0f69000f2a9e3274e46 Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Mon, 10 Apr 2023 21:46:24 +0530
Subject: [PATCH 030/137] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index f4fb098d..78ef5329 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@ You can deploy this bot anywhere.
Deploy To Heroku
-
+
From ba4453b8f3c7c0a7d948688f7483c9df1f24c12a Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Mon, 10 Apr 2023 21:47:44 +0530
Subject: [PATCH 031/137] Update app.json
---
app.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app.json b/app.json
index 93954b9c..dab5432d 100644
--- a/app.json
+++ b/app.json
@@ -16,7 +16,7 @@
"inline"
],
"website": "https://github.com/LazyDeveloperr/LazyPrincess",
- "repository": "https://github.com/LazyDeveloperr/LazyPrincess",
+ "repository": "https://github.com/Vicky9745/LazyNew",
"env": {
"BOT_TOKEN": {
"description": "Your bot token.",
From c7499f65ea403cf79997526a629e40cc50b7ce51 Mon Sep 17 00:00:00 2001
From: Vicky9745 <113034144+Vicky9745@users.noreply.github.com>
Date: Mon, 10 Apr 2023 21:54:34 +0530
Subject: [PATCH 032/137] Update Procfile
---
Procfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Procfile b/Procfile
index ab94349c..d80f8e78 100644
--- a/Procfile
+++ b/Procfile
@@ -1 +1 @@
-web: python3 bot.py
\ No newline at end of file
+worker: python3 bot.py
From de5e7403dc3045e0d7930b3ecede98ec9121fff8 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Mon, 10 Apr 2023 22:20:13 +0530
Subject: [PATCH 033/137] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 78ef5329..8d2e360e 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@ You can deploy this bot anywhere.
Deploy To Heroku
-
+
From 79e24d00b5f5821df284eea82dae1000e05106af Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Mon, 10 Apr 2023 22:21:03 +0530
Subject: [PATCH 034/137] Update app.json
---
app.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app.json b/app.json
index dab5432d..478702f9 100644
--- a/app.json
+++ b/app.json
@@ -16,7 +16,7 @@
"inline"
],
"website": "https://github.com/LazyDeveloperr/LazyPrincess",
- "repository": "https://github.com/Vicky9745/LazyNew",
+ "repository": "https://github.com/Vikramved/LazyNew",
"env": {
"BOT_TOKEN": {
"description": "Your bot token.",
From d6a3ce0bc99e01c9ad9106af14a845dfbd59f55f Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 07:09:07 +0530
Subject: [PATCH 035/137] Update commands.py
---
plugins/commands.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/plugins/commands.py b/plugins/commands.py
index ddb0b3fe..8be8f06b 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -231,6 +231,16 @@ async def start(client, message):
f_caption=f_caption
if f_caption is None:
f_caption = f"{files.file_name}"
+ buttons = [
+ [
+ InlineKeyboardButton('🚸 ᴅᴇʟᴇᴛᴇ', callback_data="close_data"),
+ InlineKeyboardButton('💞 sʜᴀʀᴇ', url="https://t.me/share/url?url=😱%20ᴍᴏᴠɪᴇ%20ʙᴏꜱꜱ.²·⁰%20😱%0A%0Aഏത്%20അർധരാത്രി%20ചോദിച്ചാലും%20പടം%20കിട്ടും,%20ലോകത്തിലെ%20ഒട്ടുമിക്ക%20ഭാഷകളിലുമുള്ള%20സിനിമകളുടെ%20കളക്ഷൻ..%20❤️%0A%0A👇%20GROUP%20LINK%20👇%0A@MovieBossTG%0A@MovieBossTG%0A@MovieBossTG<\b>")
+ ],
+ [
+ InlineKeyboardButton('🌿 ғɪʟᴇ sɪᴢᴇ {file_size}', callback_data="gexneo")
+ ]]
+
+
await client.send_cached_media(
chat_id=message.from_user.id,
file_id=file_id,
From 06b799c06dba38fa613c2e026634d07a3fd0889d Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 07:14:08 +0530
Subject: [PATCH 036/137] Update commands.py
---
plugins/commands.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index 8be8f06b..e017369b 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -237,8 +237,9 @@ async def start(client, message):
InlineKeyboardButton('💞 sʜᴀʀᴇ', url="https://t.me/share/url?url=😱%20ᴍᴏᴠɪᴇ%20ʙᴏꜱꜱ.²·⁰%20😱%0A%0Aഏത്%20അർധരാത്രി%20ചോദിച്ചാലും%20പടം%20കിട്ടും,%20ലോകത്തിലെ%20ഒട്ടുമിക്ക%20ഭാഷകളിലുമുള്ള%20സിനിമകളുടെ%20കളക്ഷൻ..%20❤️%0A%0A👇%20GROUP%20LINK%20👇%0A@MovieBossTG%0A@MovieBossTG%0A@MovieBossTG<\b>")
],
[
- InlineKeyboardButton('🌿 ғɪʟᴇ sɪᴢᴇ {file_size}', callback_data="gexneo")
- ]]
+ InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ {size}', callback_data="gxneo")
+ ]
+ ]
await client.send_cached_media(
From a88b342d81972555d35c011e34f1cfb1b4441b6b Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 07:17:43 +0530
Subject: [PATCH 037/137] Update commands.py
---
plugins/commands.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index e017369b..0eb2102c 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -237,10 +237,9 @@ async def start(client, message):
InlineKeyboardButton('💞 sʜᴀʀᴇ', url="https://t.me/share/url?url=😱%20ᴍᴏᴠɪᴇ%20ʙᴏꜱꜱ.²·⁰%20😱%0A%0Aഏത്%20അർധരാത്രി%20ചോദിച്ചാലും%20പടം%20കിട്ടും,%20ലോകത്തിലെ%20ഒട്ടുമിക്ക%20ഭാഷകളിലുമുള്ള%20സിനിമകളുടെ%20കളക്ഷൻ..%20❤️%0A%0A👇%20GROUP%20LINK%20👇%0A@MovieBossTG%0A@MovieBossTG%0A@MovieBossTG<\b>")
],
[
- InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ {size}', callback_data="gxneo")
+ InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】🌿', callback_data="gxneo")
]
- ]
-
+ ]
await client.send_cached_media(
chat_id=message.from_user.id,
From 0da8a58c90ca85b64ace69c3a0783d42a330a142 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 07:29:49 +0530
Subject: [PATCH 038/137] Update commands.py
---
plugins/commands.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugins/commands.py b/plugins/commands.py
index 0eb2102c..b5a5914d 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -245,6 +245,7 @@ async def start(client, message):
chat_id=message.from_user.id,
file_id=file_id,
caption=f_caption,
+ reply_markup=InlineKeyboardMarkup(buttons),
protect_content=True if pre == 'filep' else False,
)
From 7687d7d3bbcaf4b8e84eaa7f603aafdbdffaae14 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 07:39:11 +0530
Subject: [PATCH 039/137] Update commands.py
---
plugins/commands.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index b5a5914d..0eb2102c 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -245,7 +245,6 @@ async def start(client, message):
chat_id=message.from_user.id,
file_id=file_id,
caption=f_caption,
- reply_markup=InlineKeyboardMarkup(buttons),
protect_content=True if pre == 'filep' else False,
)
From 4072ef51d2f87627f7f349d0fd293bc511c57ae1 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 07:55:44 +0530
Subject: [PATCH 040/137] Update commands.py
---
plugins/commands.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index 0eb2102c..0a959d1b 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -239,12 +239,13 @@ async def start(client, message):
[
InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】🌿', callback_data="gxneo")
]
- ]
-
+ ]
+ reply_markup = InlineKeyboardMarkup(buttons)
await client.send_cached_media(
chat_id=message.from_user.id,
file_id=file_id,
caption=f_caption,
+ reply_markup=reply_markup,
protect_content=True if pre == 'filep' else False,
)
From bc503a25b45ac7399fea4b891c8a256dcdc00f4c Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 07:58:54 +0530
Subject: [PATCH 041/137] Update commands.py
---
plugins/commands.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index 0a959d1b..ee74934d 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -240,7 +240,7 @@ async def start(client, message):
InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】🌿', callback_data="gxneo")
]
]
- reply_markup = InlineKeyboardMarkup(buttons)
+ reply_markup = InlineKeyboardMarkup(buttons)
await client.send_cached_media(
chat_id=message.from_user.id,
file_id=file_id,
From 1557f7b49e0838a3540cd4de5d772fcaf2281227 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 08:04:08 +0530
Subject: [PATCH 042/137] Update commands.py
---
plugins/commands.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index ee74934d..c20141cf 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -239,8 +239,7 @@ async def start(client, message):
[
InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】🌿', callback_data="gxneo")
]
- ]
- reply_markup = InlineKeyboardMarkup(buttons)
+ ]
await client.send_cached_media(
chat_id=message.from_user.id,
file_id=file_id,
From 1aabfaff7b0eb39ae40fb5988585d1a006fabb16 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 08:07:58 +0530
Subject: [PATCH 043/137] Update commands.py
---
plugins/commands.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index c20141cf..993a2318 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -239,7 +239,8 @@ async def start(client, message):
[
InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】🌿', callback_data="gxneo")
]
- ]
+ ]
+ reply_markup = InlineKeyboardMarkup(buttons)
await client.send_cached_media(
chat_id=message.from_user.id,
file_id=file_id,
From 0fd3b55c3b7d704b46a7d5bfd1101583829fa3f3 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 08:18:17 +0530
Subject: [PATCH 044/137] Update commands.py
---
plugins/commands.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugins/commands.py b/plugins/commands.py
index 993a2318..70687487 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -246,6 +246,7 @@ async def start(client, message):
file_id=file_id,
caption=f_caption,
reply_markup=reply_markup,
+ parse_mode=enums.ParseMode.HTML,
protect_content=True if pre == 'filep' else False,
)
From 216e2137652190c99ea73af9424942f32fe9683c Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 08:25:54 +0530
Subject: [PATCH 045/137] Update commands.py
---
plugins/commands.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index 70687487..501ff48c 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -240,13 +240,12 @@ async def start(client, message):
InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】🌿', callback_data="gxneo")
]
]
- reply_markup = InlineKeyboardMarkup(buttons)
+ reply_markup=InlineKeyboardMarkup(buttons)
await client.send_cached_media(
chat_id=message.from_user.id,
file_id=file_id,
caption=f_caption,
reply_markup=reply_markup,
- parse_mode=enums.ParseMode.HTML,
protect_content=True if pre == 'filep' else False,
)
From d5fee590e8047f5b5c760d689a3a6a6f6100746c Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 08:41:59 +0530
Subject: [PATCH 046/137] Update commands.py
---
plugins/commands.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index 501ff48c..f38f797a 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -237,10 +237,10 @@ async def start(client, message):
InlineKeyboardButton('💞 sʜᴀʀᴇ', url="https://t.me/share/url?url=😱%20ᴍᴏᴠɪᴇ%20ʙᴏꜱꜱ.²·⁰%20😱%0A%0Aഏത്%20അർധരാത്രി%20ചോദിച്ചാലും%20പടം%20കിട്ടും,%20ലോകത്തിലെ%20ഒട്ടുമിക്ക%20ഭാഷകളിലുമുള്ള%20സിനിമകളുടെ%20കളക്ഷൻ..%20❤️%0A%0A👇%20GROUP%20LINK%20👇%0A@MovieBossTG%0A@MovieBossTG%0A@MovieBossTG<\b>")
],
[
- InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】🌿', callback_data="gxneo")
+ InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】🌿', callback_data='gxneo')
]
]
- reply_markup=InlineKeyboardMarkup(buttons)
+ reply_markup = InlineKeyboardMarkup(buttons)
await client.send_cached_media(
chat_id=message.from_user.id,
file_id=file_id,
From 1ddf21b93f263abce45cbc20e9e5621e060dce5e Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 08:58:31 +0530
Subject: [PATCH 047/137] Update commands.py
---
plugins/commands.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index f38f797a..c26d1567 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -240,12 +240,12 @@ async def start(client, message):
InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】🌿', callback_data='gxneo')
]
]
- reply_markup = InlineKeyboardMarkup(buttons)
+
await client.send_cached_media(
chat_id=message.from_user.id,
file_id=file_id,
caption=f_caption,
- reply_markup=reply_markup,
+ reply_markup=InlineKeyboardMarkup(buttons),
protect_content=True if pre == 'filep' else False,
)
From 6fab66c142a4c2f404d8fb282c9d13fa77dca018 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 09:19:46 +0530
Subject: [PATCH 048/137] Update commands.py
---
plugins/commands.py | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index c26d1567..932dd27a 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -231,15 +231,12 @@ async def start(client, message):
f_caption=f_caption
if f_caption is None:
f_caption = f"{files.file_name}"
- buttons = [
- [
- InlineKeyboardButton('🚸 ᴅᴇʟᴇᴛᴇ', callback_data="close_data"),
- InlineKeyboardButton('💞 sʜᴀʀᴇ', url="https://t.me/share/url?url=😱%20ᴍᴏᴠɪᴇ%20ʙᴏꜱꜱ.²·⁰%20😱%0A%0Aഏത്%20അർധരാത്രി%20ചോദിച്ചാലും%20പടം%20കിട്ടും,%20ലോകത്തിലെ%20ഒട്ടുമിക്ക%20ഭാഷകളിലുമുള്ള%20സിനിമകളുടെ%20കളക്ഷൻ..%20❤️%0A%0A👇%20GROUP%20LINK%20👇%0A@MovieBossTG%0A@MovieBossTG%0A@MovieBossTG<\b>")
- ],
- [
- InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】🌿', callback_data='gxneo')
- ]
- ]
+ buttons = [[
+ InlineKeyboardButton('🚸 ᴅᴇʟᴇᴛᴇ', callback_data="close_data"),
+ InlineKeyboardButton('💞 sʜᴀʀᴇ', url="https://t.me/share/url?url=😱%20ᴍᴏᴠɪᴇ%20ʙᴏꜱꜱ.²·⁰%20😱%0A%0Aഏത്%20അർധരാത്രി%20ചോദിച്ചാലും%20പടം%20കിട്ടും,%20ലോകത്തിലെ%20ഒട്ടുമിക്ക%20ഭാഷകളിലുമുള്ള%20സിനിമകളുടെ%20കളക്ഷൻ..%20❤️%0A%0A👇%20GROUP%20LINK%20👇%0A@MovieBoss4%0A@MovieBoss%0A@MovieBoss<\b>")
+ ],[
+ InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】', callback_data="tnk")
+ ]]
await client.send_cached_media(
chat_id=message.from_user.id,
From 4cb3cd06f274bf0912f6c1e844b76cfdda7cfbd4 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 09:21:12 +0530
Subject: [PATCH 049/137] Update commands.py
---
plugins/commands.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index 932dd27a..c2962464 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -234,7 +234,7 @@ async def start(client, message):
buttons = [[
InlineKeyboardButton('🚸 ᴅᴇʟᴇᴛᴇ', callback_data="close_data"),
InlineKeyboardButton('💞 sʜᴀʀᴇ', url="https://t.me/share/url?url=😱%20ᴍᴏᴠɪᴇ%20ʙᴏꜱꜱ.²·⁰%20😱%0A%0Aഏത്%20അർധരാത്രി%20ചോദിച്ചാലും%20പടം%20കിട്ടും,%20ലോകത്തിലെ%20ഒട്ടുമിക്ക%20ഭാഷകളിലുമുള്ള%20സിനിമകളുടെ%20കളക്ഷൻ..%20❤️%0A%0A👇%20GROUP%20LINK%20👇%0A@MovieBoss4%0A@MovieBoss%0A@MovieBoss<\b>")
- ],[
+ ],[
InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】', callback_data="tnk")
]]
From 38bba66aeb454c024370f65c3adb90b504c37ca2 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 09:40:11 +0530
Subject: [PATCH 050/137] Update commands.py
---
plugins/commands.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index c2962464..f6c5a878 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -237,12 +237,12 @@ async def start(client, message):
],[
InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】', callback_data="tnk")
]]
-
+ reply_markup = InlineKeyboardMarkup(buttons)
await client.send_cached_media(
chat_id=message.from_user.id,
file_id=file_id,
caption=f_caption,
- reply_markup=InlineKeyboardMarkup(buttons),
+ reply_markup=reply_markup,
protect_content=True if pre == 'filep' else False,
)
From 2b48b51d422b297f0af62e6e4cda1bff8a8acaf0 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 09:50:59 +0530
Subject: [PATCH 051/137] Update commands.py
---
plugins/commands.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index f6c5a878..02b0b630 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -232,10 +232,10 @@ async def start(client, message):
if f_caption is None:
f_caption = f"{files.file_name}"
buttons = [[
- InlineKeyboardButton('🚸 ᴅᴇʟᴇᴛᴇ', callback_data="close_data"),
- InlineKeyboardButton('💞 sʜᴀʀᴇ', url="https://t.me/share/url?url=😱%20ᴍᴏᴠɪᴇ%20ʙᴏꜱꜱ.²·⁰%20😱%0A%0Aഏത്%20അർധരാത്രി%20ചോദിച്ചാലും%20പടം%20കിട്ടും,%20ലോകത്തിലെ%20ഒട്ടുമിക്ക%20ഭാഷകളിലുമുള്ള%20സിനിമകളുടെ%20കളക്ഷൻ..%20❤️%0A%0A👇%20GROUP%20LINK%20👇%0A@MovieBoss4%0A@MovieBoss%0A@MovieBoss<\b>")
+ InlineKeyboardButton('🚸 ᴅᴇʟᴇᴛᴇ', callback_data='close_data'),
+ InlineKeyboardButton('💞 sʜᴀʀᴇ', url='https://t.me/share/url?url=😱%20ᴍᴏᴠɪᴇ%20ʙᴏꜱꜱ.²·⁰%20😱%0A%0Aഏത്%20അർധരാത്രി%20ചോദിച്ചാലും%20പടം%20കിട്ടും,%20ലോകത്തിലെ%20ഒട്ടുമിക്ക%20ഭാഷകളിലുമുള്ള%20സിനിമകളുടെ%20കളക്ഷൻ..%20❤️%0A%0A👇%20GROUP%20LINK%20👇%0A@MovieBoss4%0A@MovieBoss%0A@MovieBoss')
],[
- InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】', callback_data="tnk")
+ InlineKeyboardButton(text=f'🌿 ғɪʟᴇ sɪᴢᴇ 【 {size} 】', callback_data='tnk')
]]
reply_markup = InlineKeyboardMarkup(buttons)
await client.send_cached_media(
From 57610d391eb17929d8d3561eba4f5e762cced1c2 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 19:30:16 +0530
Subject: [PATCH 052/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index d7cb07b9..794f4e4d 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -1270,7 +1270,7 @@ async def auto_filter(client, msg, spoll=False):
**locals()
)
else:
- cap = f"Baby, Here is what i found for your query {search}"
+ cap = f"🎪 ᴛɪᴛɪʟᴇ {search}\n\n┏ 🤴 ᴀsᴋᴇᴅ ʙʏ : {message.from_user.mention}\n┣ ⚡ ᴘᴏᴡᴇʀᴇᴅ ʙʏ : [ʀᴏʟᴇx²ᵒ](https://t.me/Starkv4bot)\n┗ 🍁 ᴄʜᴀɴɴᴇʟ : [ᴍᴏᴠɪᴇ ʙᴏꜱꜱ](https://t.me/MovieBossTG)\n\nᴀꜰᴛᴇʀ 30 ᴍɪɴᴜᴛᴇꜱ ᴛʜɪꜱ ᴍᴇꜱꜱᴀɢᴇ ᴡɪʟʟ ʙᴇ ᴀᴜᴛᴏᴍᴀᴛɪᴄᴀʟʟʏ ᴅᴇʟᴇᴛᴇᴅ\n\n★ ᴘᴏᴡᴇʀᴇᴅ ʙʏ [ᴍᴏᴠɪᴇ ʙᴏꜱꜱ](https://t.me/MovieBossTG)"
if imdb and imdb.get('poster'):
try:
z = await message.reply_photo(photo=imdb.get('poster'), caption=cap[:1024],
From d1e21919d9b9b4ba2cac60c5e037d644ce4bbd47 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 19:35:49 +0530
Subject: [PATCH 053/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 794f4e4d..8c5ae8a9 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -1288,7 +1288,7 @@ async def auto_filter(client, msg, spoll=False):
except Exception as e:
logger.exception(e)
- n = await message.reply_text(cap, reply_markup=InlineKeyboardMarkup(btn))
+ n = await message.reply_photo(photo='https://telegra.ph/file/1e7053b9292bb4b8ed80a.jpg, caption=cap, reply_markup=InlineKeyboardMarkup(btn))
if SELF_DELETE:
await asyncio.sleep(SELF_DELETE_SECONDS)
await n.delete()
From ff020182b0d4a14e3be82e807b50e83c306f5d63 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 12 Apr 2023 19:39:13 +0530
Subject: [PATCH 054/137] Update pm_filter.py
---
plugins/pm_filter.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 8c5ae8a9..100aa895 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -1288,12 +1288,12 @@ async def auto_filter(client, msg, spoll=False):
except Exception as e:
logger.exception(e)
- n = await message.reply_photo(photo='https://telegra.ph/file/1e7053b9292bb4b8ed80a.jpg, caption=cap, reply_markup=InlineKeyboardMarkup(btn))
+ n = await message.reply_photo(photo='https://telegra.ph/file/1e7053b9292bb4b8ed80a.jpg', caption=cap, reply_markup=InlineKeyboardMarkup(btn))
if SELF_DELETE:
await asyncio.sleep(SELF_DELETE_SECONDS)
await n.delete()
else:
- p = await message.reply_text(cap, reply_markup=InlineKeyboardMarkup(btn))
+ p = await message.reply_photo(photo='https://telegra.ph/file/1e7053b9292bb4b8ed80a.jpg', caption=cap, reply_markup=InlineKeyboardMarkup(btn))
await asyncio.sleep(250)
await p.delete()
if SELF_DELETE:
From 7f2ad613b4a267585171592e4ac97fcc1d6bf394 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Thu, 13 Apr 2023 05:12:34 +0530
Subject: [PATCH 055/137] Update pm_filter.py
---
plugins/pm_filter.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 100aa895..d5f2d4c8 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -277,20 +277,20 @@ async def next_page(bot, query):
off_set = offset - 10
if n_offset == 0:
btn.append(
- [InlineKeyboardButton("⏪ BACK", callback_data=f"next_{req}_{key}_{off_set}"),
- InlineKeyboardButton(f"📃 Pages {math.ceil(int(offset) / 10) + 1} / {math.ceil(total / 10)}",
+ [InlineKeyboardButton("ʙᴀᴄᴋ", callback_data=f"next_{req}_{key}_{off_set}"),
+ InlineKeyboardButton(f"ᴘᴀɢᴇs {math.ceil(int(offset) / 10) + 1} / {math.ceil(total / 10)}",
callback_data="pages")]
)
elif off_set is None:
btn.append(
- [InlineKeyboardButton(f"🗓 {math.ceil(int(offset) / 10) + 1} / {math.ceil(total / 10)}", callback_data="pages"),
- InlineKeyboardButton("NEXT ⏩", callback_data=f"next_{req}_{key}_{n_offset}")])
+ [InlineKeyboardButton(f"🗓️ {math.ceil(int(offset) / 10) + 1} / {math.ceil(total / 10)}", callback_data="pages"),
+ InlineKeyboardButton("ɴᴇxᴛ", callback_data=f"next_{req}_{key}_{n_offset}")])
else:
btn.append(
[
- InlineKeyboardButton("⏪ BACK", callback_data=f"next_{req}_{key}_{off_set}"),
- InlineKeyboardButton(f"🗓 {math.ceil(int(offset) / 10) + 1} / {math.ceil(total / 10)}", callback_data="pages"),
- InlineKeyboardButton("NEXT ⏩", callback_data=f"next_{req}_{key}_{n_offset}")
+ InlineKeyboardButton("ʙᴀᴄᴋ", callback_data=f"next_{req}_{key}_{off_set}"),
+ InlineKeyboardButton(f"🗓️ {math.ceil(int(offset) / 10) + 1} / {math.ceil(total / 10)}", callback_data="pages"),
+ InlineKeyboardButton("ɴᴇxᴛ", callback_data=f"next_{req}_{key}_{n_offset}")
],
)
try:
From c093442eb38b78439ee711a2ef4e7ddc22406aae Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Thu, 13 Apr 2023 16:43:55 +0530
Subject: [PATCH 056/137] Update info.py
---
info.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/info.py b/info.py
index 2c97a196..09947b33 100644
--- a/info.py
+++ b/info.py
@@ -47,7 +47,7 @@ def is_enabled(value, default):
IMDB_TEMPLATE = environ.get("IMDB_TEMPLATE", "Your Query: {query} \nIMDb Data by: @LazyDeveloper \n\n🏷 Title: {title}\n🎭 Genres: {genres}\n📆 Year: {year}\n🌟 Rating: {rating} / 10 \n\n♥️ we are nothing without you ♥️ \n\n💛 Please Share Us 💛\n\n⚠️Click on the button 👇 below to get your query privately")
LONG_IMDB_DESCRIPTION = is_enabled(environ.get("LONG_IMDB_DESCRIPTION", "False"), False)
SPELL_CHECK_REPLY = is_enabled(environ.get("SPELL_CHECK_REPLY", "True"), False)
-MAX_LIST_ELM = environ.get("MAX_LIST_ELM", None)
+MAX_LIST_ELM = environ.get("MAX_LIST_ELM", 5)
INDEX_REQ_CHANNEL = int(environ.get('INDEX_REQ_CHANNEL', LOG_CHANNEL))
FILE_STORE_CHANNEL = [int(ch) for ch in (environ.get('FILE_STORE_CHANNEL', '')).split()]
MELCOW_NEW_USERS = is_enabled((environ.get('MELCOW_NEW_USERS', "True")), True)
From 8abaca29cfc96564914041d0a49fda12544880e1 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Thu, 13 Apr 2023 16:51:08 +0530
Subject: [PATCH 057/137] Update info.py
---
info.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/info.py b/info.py
index 09947b33..3170fb7d 100644
--- a/info.py
+++ b/info.py
@@ -47,7 +47,7 @@ def is_enabled(value, default):
IMDB_TEMPLATE = environ.get("IMDB_TEMPLATE", "Your Query: {query} \nIMDb Data by: @LazyDeveloper \n\n🏷 Title: {title}\n🎭 Genres: {genres}\n📆 Year: {year}\n🌟 Rating: {rating} / 10 \n\n♥️ we are nothing without you ♥️ \n\n💛 Please Share Us 💛\n\n⚠️Click on the button 👇 below to get your query privately")
LONG_IMDB_DESCRIPTION = is_enabled(environ.get("LONG_IMDB_DESCRIPTION", "False"), False)
SPELL_CHECK_REPLY = is_enabled(environ.get("SPELL_CHECK_REPLY", "True"), False)
-MAX_LIST_ELM = environ.get("MAX_LIST_ELM", 5)
+MAX_LIST_ELM = environ.get("MAX_LIST_ELM", "5")
INDEX_REQ_CHANNEL = int(environ.get('INDEX_REQ_CHANNEL', LOG_CHANNEL))
FILE_STORE_CHANNEL = [int(ch) for ch in (environ.get('FILE_STORE_CHANNEL', '')).split()]
MELCOW_NEW_USERS = is_enabled((environ.get('MELCOW_NEW_USERS', "True")), True)
From 678a8ced5851b9473c77fb87ec7c15c677bbd22a Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Thu, 13 Apr 2023 17:28:13 +0530
Subject: [PATCH 058/137] Update ia_filterdb.py
---
database/ia_filterdb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/database/ia_filterdb.py b/database/ia_filterdb.py
index e8dcce49..34ba294e 100644
--- a/database/ia_filterdb.py
+++ b/database/ia_filterdb.py
@@ -66,7 +66,7 @@ async def save_file(media):
-async def get_search_results(query, file_type=None, max_results=10, offset=0, filter=False):
+async def get_search_results(query, file_type=None, max_results=5, offset=0, filter=False):
"""For given query return (results, next_offset)"""
query = query.strip()
From f4cc6657fd1da1f5aeac27f0092030b12e971bf0 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Thu, 13 Apr 2023 17:58:14 +0530
Subject: [PATCH 059/137] Update pm_filter.py
---
plugins/pm_filter.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index d5f2d4c8..f52f41ec 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -263,10 +263,13 @@ async def next_page(bot, query):
]
for file in files
]
+
btn.insert(0,
[
- InlineKeyboardButton(text="⚡ʜᴏᴡ ᴛᴏ ᴅᴏᴡɴʟᴏᴀᴅ⚡", url='https://telegram.me/LazyDeveloper')
- ]
+ InlineKeyboardButton(f'ᴍᴏᴠɪᴇ', 'moviee'),
+ InlineKeyboardButton(f'ɪɴғᴏ', 'infoo'),
+ InlineKeyboardButton(f'sᴇʀɪᴇs', 'seriess')
+ ]
)
if 0 < offset <= 10:
From 52f6802b2257fcbf6d73001e03f4f360d8668e99 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Thu, 13 Apr 2023 18:14:22 +0530
Subject: [PATCH 060/137] Update pm_filter.py
---
plugins/pm_filter.py | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index f52f41ec..2d73bbf4 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -608,6 +608,16 @@ async def cb_handler(client: Client, query: CallbackQuery):
)
elif query.data == "neosub":
await query.answer("അഥവാ ഗ്രൂപ്പ് കോപ്പിറൈറ് കിട്ടി പോയാൽ.. പുതിയ ഗ്രൂപ്പ് തുടങ്ങുമ്പോൾ ഇപ്പോൾ ജോയിൻ ആകുന്ന ചാനൽ വഴി ആയിരിക്കും അറിയിക്കുന്നത് 🤥", show_alert=True)
+
+ elif query.data == "moviee":
+ await query.answer("⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯\nᴍᴏᴠɪᴇ ʀᴇǫᴜᴇꜱᴛ ꜰᴏʀᴍᴀᴛ\n⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯\n\nɢᴏ ᴛᴏ ɢᴏᴏɢʟᴇ ➠ ᴛʏᴘᴇ ᴍᴏᴠɪᴇ ɴᴀᴍᴇ ➠ ᴄᴏᴘʏ ᴄᴏʀʀᴇᴄᴛ ɴᴀᴍᴇ ➠ ᴘᴀꜱᴛᴇ ᴛʜɪꜱ ɢʀᴏᴜᴘ\n\nᴇxᴀᴍᴘʟᴇ : ᴋɢꜰ ᴄʜᴀᴘᴛᴇʀ 2 2022\n\n🚯 ᴅᴏɴᴛ ᴜꜱᴇ ➠ ':(!,./)\n\n© ᴍᴏᴠɪᴇʙᴏꜱꜱ", show_alert=True)
+
+ elif query.data == "infoo":
+ await query.answer("⚠ ɪɴꜰᴏʀᴍᴀᴛɪᴏɴ ⚠\n\nᴀꜰᴛᴇʀ 30 ᴍɪɴᴜᴛᴇᴇꜱ ᴛʜɪꜱ ᴍᴇꜱꜱᴀɢᴇ ᴡɪʟʟ ʙᴇ ᴀᴜᴛᴏᴍᴀᴛɪᴄᴀʟʟʏ ᴅᴇʟᴇᴛᴇᴅ\n\nɪꜰ ʏᴏᴜ ᴅᴏ ɴᴏᴛ ꜱᴇᴇ ᴛʜᴇ ʀᴇǫᴜᴇsᴛᴇᴅ ᴍᴏᴠɪᴇ / sᴇʀɪᴇs ꜰɪʟᴇ, ʟᴏᴏᴋ ᴀᴛ ᴛʜᴇ ɴᴇxᴛ ᴘᴀɢᴇ\n\n© ᴍᴏᴠɪᴇʙᴏꜱꜱ", show_alert=True)
+
+ elif query.data == "seriess":
+ await query.answer("⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯\nꜱᴇʀɪᴇꜱ ʀᴇǫᴜᴇꜱᴛ ꜰᴏʀᴍᴀᴛ\n⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯\n\nɢᴏ ᴛᴏ ɢᴏᴏɢʟᴇ ➠ ᴛʏᴘᴇ ᴍᴏᴠɪᴇ ɴᴀᴍᴇ ➠ ᴄᴏᴘʏ ᴄᴏʀʀᴇᴄᴛ ɴᴀᴍᴇ ➠ ᴘᴀꜱᴛᴇ ᴛʜɪꜱ ɢʀᴏᴜᴘ\n\nᴇxᴀᴍᴘʟᴇ : ʟᴏᴋɪ S01 E01\n\n🚯 ᴅᴏɴᴛ ᴜꜱᴇ ➠ ':(!,./)\n\n© ᴍᴏᴠɪᴇʙᴏꜱꜱ", show_alert=True)
+
elif query.data == "help":
buttons = [[
InlineKeyboardButton('Manual Filter', callback_data='manuelfilter'),
@@ -1223,7 +1233,9 @@ async def auto_filter(client, msg, spoll=False):
btn.insert(0,
[
- InlineKeyboardButton(text="⚡ʙᴀᴄᴋᴜᴩ ᴄʜᴀɴɴᴇʟ⚡", url='https://telegram.me/MovieBossTG'),
+ InlineKeyboardButton(f'ᴍᴏᴠɪᴇ', 'moviee'),
+ InlineKeyboardButton(f'ɪɴғᴏ', 'infoo'),
+ InlineKeyboardButton(f'sᴇʀɪᴇs', 'seriess')
]
)
if offset != "":
@@ -1231,12 +1243,12 @@ async def auto_filter(client, msg, spoll=False):
BUTTONS[key] = search
req = message.from_user.id if message.from_user else 0
btn.append(
- [InlineKeyboardButton(text=f"🗓 1/{math.ceil(int(total_results) / 10)}", callback_data="pages"),
- InlineKeyboardButton(text="NEXT ⏩", callback_data=f"next_{req}_{key}_{offset}")]
+ [InlineKeyboardButton(text=f"🗓️ 1/{math.ceil(int(total_results) / 10)}", callback_data="pages"),
+ InlineKeyboardButton(text="ɴᴇxᴛ", callback_data=f"next_{req}_{key}_{offset}")]
)
else:
btn.append(
- [InlineKeyboardButton(text="🗓 1/1", callback_data="pages")]
+ [InlineKeyboardButton(text="ᴍᴏʀᴇ ᴘᴀɢᴇ ɴᴏᴛᴇ ᴀᴠᴀɪʟᴀʙʟᴇ", callback_data="pages")]
)
imdb = await get_poster(search, file=(files[0]).file_name) if settings["imdb"] else None
TEMPLATE = settings['template']
From ddb5fbc218fce7dd1a17bc774753548998efb581 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 14 Apr 2023 06:26:24 +0530
Subject: [PATCH 061/137] Update pm_filter.py
---
plugins/pm_filter.py | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 2d73bbf4..a93978e6 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -593,13 +593,9 @@ async def cb_handler(client: Client, query: CallbackQuery):
elif query.data == "pages":
await query.answer()
elif query.data == "start":
- buttons = [[
- InlineKeyboardButton('◽️ᴏᴡɴᴇʀ', url='https://t.me/GT_ben'),
- InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9')
- ], [
- InlineKeyboardButton('◽️ʜᴇʟᴩ', callback_data='help'),
- InlineKeyboardButton('◽️ᴀʙᴏᴜᴛ', callback_data='about')
- ]]
+ buttons = [
+ [InlineKeyboardButton('⚡️ᴄʟɪᴄᴋ ʜᴇʀᴇ ꜰᴏʀ ᴍᴏʀᴇ ʙᴜᴛᴛᴏɴꜱ⚡️', callback_data="about")]
+ ]
reply_markup = InlineKeyboardMarkup(buttons)
await query.message.edit_text(
text=script.START_TXT.format(query.from_user.mention, temp.U_NAME, temp.B_NAME),
From 42a1302276b3a4e00b6aeaf65e5ab8853e993d0c Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 14 Apr 2023 06:28:23 +0530
Subject: [PATCH 062/137] Update pm_filter.py
---
plugins/pm_filter.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index a93978e6..7aa6a17d 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -594,8 +594,8 @@ async def cb_handler(client: Client, query: CallbackQuery):
await query.answer()
elif query.data == "start":
buttons = [
- [InlineKeyboardButton('⚡️ᴄʟɪᴄᴋ ʜᴇʀᴇ ꜰᴏʀ ᴍᴏʀᴇ ʙᴜᴛᴛᴏɴꜱ⚡️', callback_data="about")]
- ]
+ [InlineKeyboardButton('⚡️ᴄʟɪᴄᴋ ʜᴇʀᴇ ꜰᴏʀ ᴍᴏʀᴇ ʙᴜᴛᴛᴏɴꜱ⚡️', callback_data="about")]
+ [
reply_markup = InlineKeyboardMarkup(buttons)
await query.message.edit_text(
text=script.START_TXT.format(query.from_user.mention, temp.U_NAME, temp.B_NAME),
From 7e75769c01662be6b0618708963195528464e16c Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 14 Apr 2023 07:04:21 +0530
Subject: [PATCH 063/137] Update pm_filter.py
---
plugins/pm_filter.py | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 7aa6a17d..d6e8445e 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -633,11 +633,13 @@ async def cb_handler(client: Client, query: CallbackQuery):
)
elif query.data == "about":
buttons = [[
- InlineKeyboardButton('◽️ʙᴀᴄᴋᴜᴩ ɢʀᴏᴜᴩ', url='https://t.me/MovieBossTG'),
- InlineKeyboardButton('◽️ᴏᴛʜᴇʀ', callback_data='source')
- ], [
- InlineKeyboardButton('🏠 Home', callback_data='start'),
- InlineKeyboardButton('🔐 Close', callback_data='close_data')
+ InlineKeyboardButton('ᴄʟɪᴄᴋ ᴛᴏ ᴄʟᴏsᴇ ᴛʜɪs ʙᴜᴛᴛᴏɴs', callback_data='start'),
+ ],[
+ InlineKeyboardButton('👑 ᴏᴡɴᴇʀ', url='https://t.me/GT_ben'),
+ InlineKeyboardButton('👥 ɢʀᴏᴜᴘ', url='https://t.me/+9CKK8DlZlgUxOTE9')
+ ],[
+ InlineKeyboardButton('🎬 ᴄʜᴀɴɴᴇʟ', url='https://t.me/MovieBossTG'),
+ InlineKeyboardButton('🔐 ᴄʟᴏsᴇ', callback_data='close_pages')
]]
reply_markup = InlineKeyboardMarkup(buttons)
await query.message.edit_text(
From 2c33ded7d9cc7f4d4323684742ac6b20ca3c6b21 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 14 Apr 2023 07:08:46 +0530
Subject: [PATCH 064/137] Update commands.py
---
plugins/commands.py | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index 02b0b630..b87cfd97 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -44,13 +44,9 @@ async def start(client, message):
await db.add_user(message.from_user.id, message.from_user.first_name)
await client.send_message(LOG_CHANNEL, script.LOG_TEXT_P.format(message.from_user.id, message.from_user.mention))
if len(message.command) != 2:
- buttons = [[
- InlineKeyboardButton('◽️ᴏᴡɴᴇʀ', url='https://t.me/GT_ben'),
- InlineKeyboardButton('◽️ᴍᴏᴠɪᴇ ɢʀᴏᴜᴩ', url='https://t.me/+9CKK8DlZlgUxOTE9')
- ],[
- InlineKeyboardButton('◽️ʜᴇʟᴩ', callback_data='help'),
- InlineKeyboardButton('◽️ᴀʙᴏᴜᴛ', callback_data='about')
- ]]
+ buttons = [
+ [Inlinekeyboardbutton('⚡ ᴄʟɪᴄᴋ ʜᴇʀᴇ ꜰᴏʀ ᴍᴏʀᴇ ʙᴜᴛᴛᴏɴꜱ ⚡️', callback_data="about")]
+ ]
reply_markup = InlineKeyboardMarkup(buttons)
await message.reply_photo(
photo=random.choice(PICS),
From ff6f4811811f9720ac68f655296c201f3d871e49 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 14 Apr 2023 07:09:55 +0530
Subject: [PATCH 065/137] Update info.py
---
info.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/info.py b/info.py
index 3170fb7d..6d44b2f8 100644
--- a/info.py
+++ b/info.py
@@ -80,7 +80,7 @@ def is_enabled(value, default):
LZURL_PRIME_USERS = [int(lazyurlers) if id_pattern.search(lazyurlers) else lazyurlers for lazyurlers in environ.get('LZURL_PRIME_USERS', '5965340120').split()]
# Auto Delete For Group Message (Self Delete) #
-SELF_DELETE_SECONDS = int(environ.get('SELF_DELETE_SECONDS', 180))
+SELF_DELETE_SECONDS = int(environ.get('SELF_DELETE_SECONDS', 1800))
SELF_DELETE = environ.get('SELF_DELETE', True)
if SELF_DELETE == "True":
SELF_DELETE = True
From 017a1645c30e3c489aa0cfa6fc46c7ef57979d6e Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 14 Apr 2023 07:15:47 +0530
Subject: [PATCH 066/137] Update pm_filter.py
---
plugins/pm_filter.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index d6e8445e..9a54b7e6 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -595,7 +595,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
elif query.data == "start":
buttons = [
[InlineKeyboardButton('⚡️ᴄʟɪᴄᴋ ʜᴇʀᴇ ꜰᴏʀ ᴍᴏʀᴇ ʙᴜᴛᴛᴏɴꜱ⚡️', callback_data="about")]
- [
+ ]
reply_markup = InlineKeyboardMarkup(buttons)
await query.message.edit_text(
text=script.START_TXT.format(query.from_user.mention, temp.U_NAME, temp.B_NAME),
@@ -639,7 +639,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
InlineKeyboardButton('👥 ɢʀᴏᴜᴘ', url='https://t.me/+9CKK8DlZlgUxOTE9')
],[
InlineKeyboardButton('🎬 ᴄʜᴀɴɴᴇʟ', url='https://t.me/MovieBossTG'),
- InlineKeyboardButton('🔐 ᴄʟᴏsᴇ', callback_data='close_pages')
+ InlineKeyboardButton('🔐 ᴄʟᴏsᴇ', callback_data='close_data')
]]
reply_markup = InlineKeyboardMarkup(buttons)
await query.message.edit_text(
From 6b0f925d22e6137b4d4f1d5f24d79c5e2db352f0 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 14 Apr 2023 07:18:54 +0530
Subject: [PATCH 067/137] Update commands.py
---
plugins/commands.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index b87cfd97..7b462da8 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -45,7 +45,7 @@ async def start(client, message):
await client.send_message(LOG_CHANNEL, script.LOG_TEXT_P.format(message.from_user.id, message.from_user.mention))
if len(message.command) != 2:
buttons = [
- [Inlinekeyboardbutton('⚡ ᴄʟɪᴄᴋ ʜᴇʀᴇ ꜰᴏʀ ᴍᴏʀᴇ ʙᴜᴛᴛᴏɴꜱ ⚡️', callback_data="about")]
+ [Inlinekeyboardbutton('⚡ ᴄʟɪᴄᴋ ʜᴇʀᴇ ꜰᴏʀ ᴍᴏʀᴇ ʙᴜᴛᴛᴏɴꜱ ⚡️', callback_data="start")]
]
reply_markup = InlineKeyboardMarkup(buttons)
await message.reply_photo(
From b148e6d909f21936c643dd05fd04603ccbce2a70 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 14 Apr 2023 07:21:24 +0530
Subject: [PATCH 068/137] Update commands.py
---
plugins/commands.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index 7b462da8..ec7e02db 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -45,7 +45,7 @@ async def start(client, message):
await client.send_message(LOG_CHANNEL, script.LOG_TEXT_P.format(message.from_user.id, message.from_user.mention))
if len(message.command) != 2:
buttons = [
- [Inlinekeyboardbutton('⚡ ᴄʟɪᴄᴋ ʜᴇʀᴇ ꜰᴏʀ ᴍᴏʀᴇ ʙᴜᴛᴛᴏɴꜱ ⚡️', callback_data="start")]
+ [InlineKeyboardButton('⚡ ᴄʟɪᴄᴋ ʜᴇʀᴇ ꜰᴏʀ ᴍᴏʀᴇ ʙᴜᴛᴛᴏɴꜱ ⚡️', callback_data="about")]
]
reply_markup = InlineKeyboardMarkup(buttons)
await message.reply_photo(
From d155866bc9dd2146007bd73c426a94d7fbb51fa4 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 14 Apr 2023 07:26:57 +0530
Subject: [PATCH 069/137] Update Script.py
---
Script.py | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/Script.py b/Script.py
index 3a5c1285..f02ad601 100644
--- a/Script.py
+++ b/Script.py
@@ -16,13 +16,8 @@ class script(object):
ALRDY_UPLDD_TEXT = """✅ Content is already uploaded.\n\nName:{}\nPlease make sure about your spelling before submiting request..."""
HELP_TXT = """𝙷𝙴𝚈 {}
Here is the help for my COMMANDS."""
- ABOUT_TXT = """✯ 𝙼𝚈 𝙽𝙰𝙼𝙴: {}
-✯ 𝙲𝚁𝙴𝙰𝚃𝙾𝚁: Sʜᴀʜɪᴅ
-✯ 𝙻𝙸𝙱𝚁𝙰𝚁𝚈: 𝙿𝚈𝚁𝙾𝙶𝚁𝙰𝙼
-✯ 𝙻𝙰𝙽𝙶𝚄𝙰𝙶𝙴: 𝙿𝚈𝚃𝙷𝙾𝙽 𝟹
-✯ 𝙳𝙰𝚃𝙰 𝙱𝙰𝚂𝙴: 𝙼𝙾𝙽𝙶𝙾 𝙳𝙱
-✯ 𝙱𝙾𝚃 𝚂𝙴𝚁𝚅𝙴𝚁: 𝙷𝙴𝚁𝙾𝙺𝚄
-✯ 𝙱𝚄𝙸𝙻𝙳 𝚂𝚃𝙰𝚃𝚄𝚂: v1.0.1 [ 𝙱𝙴𝚃𝙰 ]"""
+ ABOUT_TXT = """ʜᴇʟʟᴏ {},
+Sᴏʀʀʏ ɪ ᴏɴʟʏ ᴡᴏʀᴋ ᴏɴ ᴍᴏᴠɪᴇ ʙᴏꜱꜱ Gʀᴏᴜᴘ. Nᴏ ᴏᴛʜᴇʀ ᴄᴏᴍᴍᴀɴᴅ ᴡɪʟʟ ᴡᴏʀᴋ ᴏɴ ᴛʜɪs ʙᴏᴛ ᴇxᴄᴇᴘᴛ sᴛᴀʀᴛ. ᴅᴏɴ’ᴛ ᴡᴀsᴛᴇ ʏᴏᴜʀ ᴛɪᴍᴇ"""
SOURCE_TXT = """NOTE:
- ꜱᴏʀʀyy.....
- ᴛʜɪꜱ ʙᴏᴛ ɪꜱ ɴᴏᴛ ᴀ ᴏᴩᴇɴ ꜱᴏᴜʀᴄᴇ ʙᴏᴛ
From 13ac7bea359ce652a38d89fd5af73137dafae904 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 14 Apr 2023 10:08:08 +0530
Subject: [PATCH 070/137] Update pm_filter.py
---
plugins/pm_filter.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 9a54b7e6..e6fe55a8 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -613,6 +613,9 @@ async def cb_handler(client: Client, query: CallbackQuery):
elif query.data == "seriess":
await query.answer("⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯\nꜱᴇʀɪᴇꜱ ʀᴇǫᴜᴇꜱᴛ ꜰᴏʀᴍᴀᴛ\n⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯\n\nɢᴏ ᴛᴏ ɢᴏᴏɢʟᴇ ➠ ᴛʏᴘᴇ ᴍᴏᴠɪᴇ ɴᴀᴍᴇ ➠ ᴄᴏᴘʏ ᴄᴏʀʀᴇᴄᴛ ɴᴀᴍᴇ ➠ ᴘᴀꜱᴛᴇ ᴛʜɪꜱ ɢʀᴏᴜᴘ\n\nᴇxᴀᴍᴘʟᴇ : ʟᴏᴋɪ S01 E01\n\n🚯 ᴅᴏɴᴛ ᴜꜱᴇ ➠ ':(!,./)\n\n© ᴍᴏᴠɪᴇʙᴏꜱꜱ", show_alert=True)
+
+ elif query.data == "ownn":
+ await query.answer("⍟───[ ᴏᴡɴᴇʀ ᴅᴇᴛᴀɪʟꜱ ]───⍟\n\n• ꜰᴜʟʟ ɴᴀᴍᴇ : ꜱʜᴀʜɪᴅ²ᵒ\n• ᴜꜱᴇʀɴᴀᴍᴇ : GT_ben\n\n⍟───[☘︎𒊹︎︎︎☘︎𒊹︎︎︎☘︎𒊹︎︎︎☘︎𒊹︎︎︎☘︎𒊹︎︎︎☘︎]───⍟", show_alert=True)
elif query.data == "help":
buttons = [[
@@ -635,7 +638,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
buttons = [[
InlineKeyboardButton('ᴄʟɪᴄᴋ ᴛᴏ ᴄʟᴏsᴇ ᴛʜɪs ʙᴜᴛᴛᴏɴs', callback_data='start'),
],[
- InlineKeyboardButton('👑 ᴏᴡɴᴇʀ', url='https://t.me/GT_ben'),
+ InlineKeyboardButton('👑 ᴏᴡɴᴇʀ', callback_data="ownn"),
InlineKeyboardButton('👥 ɢʀᴏᴜᴘ', url='https://t.me/+9CKK8DlZlgUxOTE9')
],[
InlineKeyboardButton('🎬 ᴄʜᴀɴɴᴇʟ', url='https://t.me/MovieBossTG'),
From 7ef8be6f08c20d6a3f0b819f85436d9def4a8ca6 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 14 Apr 2023 10:19:51 +0530
Subject: [PATCH 071/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index e6fe55a8..44241839 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -615,7 +615,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
await query.answer("⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯\nꜱᴇʀɪᴇꜱ ʀᴇǫᴜᴇꜱᴛ ꜰᴏʀᴍᴀᴛ\n⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯\n\nɢᴏ ᴛᴏ ɢᴏᴏɢʟᴇ ➠ ᴛʏᴘᴇ ᴍᴏᴠɪᴇ ɴᴀᴍᴇ ➠ ᴄᴏᴘʏ ᴄᴏʀʀᴇᴄᴛ ɴᴀᴍᴇ ➠ ᴘᴀꜱᴛᴇ ᴛʜɪꜱ ɢʀᴏᴜᴘ\n\nᴇxᴀᴍᴘʟᴇ : ʟᴏᴋɪ S01 E01\n\n🚯 ᴅᴏɴᴛ ᴜꜱᴇ ➠ ':(!,./)\n\n© ᴍᴏᴠɪᴇʙᴏꜱꜱ", show_alert=True)
elif query.data == "ownn":
- await query.answer("⍟───[ ᴏᴡɴᴇʀ ᴅᴇᴛᴀɪʟꜱ ]───⍟\n\n• ꜰᴜʟʟ ɴᴀᴍᴇ : ꜱʜᴀʜɪᴅ²ᵒ\n• ᴜꜱᴇʀɴᴀᴍᴇ : GT_ben\n\n⍟───[☘︎𒊹︎︎︎☘︎𒊹︎︎︎☘︎𒊹︎︎︎☘︎𒊹︎︎︎☘︎𒊹︎︎︎☘︎]───⍟", show_alert=True)
+ await query.answer("⍟───[ ᴏᴡɴᴇʀ ᴅᴇᴛᴀɪʟꜱ ]───⍟\n\n• ꜰᴜʟʟ ɴᴀᴍᴇ : ꜱʜᴀʜɪᴅ²ᵒ\n• ᴜꜱᴇʀɴᴀᴍᴇ : GT_ben\n\n⍟───[ ϟ ϟ ϟ ϟ ]───⍟", show_alert=True)
elif query.data == "help":
buttons = [[
From 1350df99cc8c2ce7ab8e677a700c55fb4cac661a Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 14 Apr 2023 13:33:25 +0530
Subject: [PATCH 072/137] Update commands.py
---
plugins/commands.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index ec7e02db..9fcabcfa 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -64,9 +64,9 @@ async def start(client, message):
if message.command[1] != "subscribe":
kk, file_id = message.command[1].split("_", 1)
pre = 'checksubp' if kk == 'filep' else 'checksub'
- btn = [[InlineKeyboardButton("ᴊᴏɪɴ ɢʀᴏᴜᴩ", url=invite_link.invite_link),
- InlineKeyboardButton("ᴍᴇ ᴊᴏɪɴᴇᴅ", callback_data=f"{pre}#{file_id}")],[
- InlineKeyboardButton("Hᴇʏ Bᴏᴛ....! Wʜʏ I'ᴍ ᴊᴏɪɴɪɴɢ", callback_data="neosub")]]
+ btn = [[InlineKeyboardButton('ᴊᴏɪɴ ɢʀᴏᴜᴩ', url=invite_link.invite_link),
+ InlineKeyboardButton('ᴍᴇ ᴊᴏɪɴᴇᴅ', callback_data=f"{pre}#{file_id}")],[
+ InlineKeyboardButton('Hᴇʏ Bᴏᴛ....! Wʜʏ I'ᴍ ᴊᴏɪɴɪɴɢ', callback_data="neosub")]]
await client.send_message(
chat_id=message.from_user.id,
text="⚠️ ᴘʟᴇᴀsᴇ ғᴏʟʟᴏᴡ ᴛʜɪs ʀᴜʟᴇs ⚠️\n\n{} ആദ്യം【 ᴊᴏɪɴ ɢʀᴏᴜᴘ 】എന്ന ബട്ടൺ ക്ലിക്ക് ചെയ്തു ഗ്രൂപ്പിൽ ജോയിൻ ചെയ്.. എന്നിട്ട് വീണ്ടു ബോട്ടിൽ വന്നിട്ട്【 ᴍᴇ ᴊᴏɪɴᴇᴅ 】എന്ന ബട്ടൺ ക്ലിക്ക് ചെയ്താൽ ഫയൽ കിട്ടുന്നതായിരിക്കും\n\nFɪʀsᴛ ᴄʟɪᴄᴋ ᴏɴ ᴛʜᴇ【 ᴊᴏɪɴ ɢʀᴏᴜᴘ 】ʙᴜᴛᴛᴏɴ ᴀɴᴅ ᴊᴏɪɴ ᴛʜᴇ ɢʀᴏᴜᴘ. ᴛʜᴇɴ ᴄᴏᴍᴇ ʙᴀᴄᴋ ᴛᴏ ᴛʜᴇ ʙᴏᴛ ᴄʟɪᴄᴋ ᴏɴ【 ᴍᴇ ᴊᴏɪɴᴇᴅ 】ʙᴜᴛᴛᴏɴ ᴛᴏ ɢᴇᴛ ᴛʜᴇ ғɪʟᴇ...".format(message.from_user.mention),
From 95fdaeae861c94f3df3b3fb97fe46dc5383f2371 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 14 Apr 2023 13:35:58 +0530
Subject: [PATCH 073/137] Update commands.py
---
plugins/commands.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/commands.py b/plugins/commands.py
index 9fcabcfa..ec7e02db 100644
--- a/plugins/commands.py
+++ b/plugins/commands.py
@@ -64,9 +64,9 @@ async def start(client, message):
if message.command[1] != "subscribe":
kk, file_id = message.command[1].split("_", 1)
pre = 'checksubp' if kk == 'filep' else 'checksub'
- btn = [[InlineKeyboardButton('ᴊᴏɪɴ ɢʀᴏᴜᴩ', url=invite_link.invite_link),
- InlineKeyboardButton('ᴍᴇ ᴊᴏɪɴᴇᴅ', callback_data=f"{pre}#{file_id}")],[
- InlineKeyboardButton('Hᴇʏ Bᴏᴛ....! Wʜʏ I'ᴍ ᴊᴏɪɴɪɴɢ', callback_data="neosub")]]
+ btn = [[InlineKeyboardButton("ᴊᴏɪɴ ɢʀᴏᴜᴩ", url=invite_link.invite_link),
+ InlineKeyboardButton("ᴍᴇ ᴊᴏɪɴᴇᴅ", callback_data=f"{pre}#{file_id}")],[
+ InlineKeyboardButton("Hᴇʏ Bᴏᴛ....! Wʜʏ I'ᴍ ᴊᴏɪɴɪɴɢ", callback_data="neosub")]]
await client.send_message(
chat_id=message.from_user.id,
text="⚠️ ᴘʟᴇᴀsᴇ ғᴏʟʟᴏᴡ ᴛʜɪs ʀᴜʟᴇs ⚠️\n\n{} ആദ്യം【 ᴊᴏɪɴ ɢʀᴏᴜᴘ 】എന്ന ബട്ടൺ ക്ലിക്ക് ചെയ്തു ഗ്രൂപ്പിൽ ജോയിൻ ചെയ്.. എന്നിട്ട് വീണ്ടു ബോട്ടിൽ വന്നിട്ട്【 ᴍᴇ ᴊᴏɪɴᴇᴅ 】എന്ന ബട്ടൺ ക്ലിക്ക് ചെയ്താൽ ഫയൽ കിട്ടുന്നതായിരിക്കും\n\nFɪʀsᴛ ᴄʟɪᴄᴋ ᴏɴ ᴛʜᴇ【 ᴊᴏɪɴ ɢʀᴏᴜᴘ 】ʙᴜᴛᴛᴏɴ ᴀɴᴅ ᴊᴏɪɴ ᴛʜᴇ ɢʀᴏᴜᴘ. ᴛʜᴇɴ ᴄᴏᴍᴇ ʙᴀᴄᴋ ᴛᴏ ᴛʜᴇ ʙᴏᴛ ᴄʟɪᴄᴋ ᴏɴ【 ᴍᴇ ᴊᴏɪɴᴇᴅ 】ʙᴜᴛᴛᴏɴ ᴛᴏ ɢᴇᴛ ᴛʜᴇ ғɪʟᴇ...".format(message.from_user.mention),
From f12dee524ec251f37f87edadd0ece05195984277 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 15 Apr 2023 05:54:16 +0530
Subject: [PATCH 074/137] Update pm_filter.py
---
plugins/pm_filter.py | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 44241839..f201e31e 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -281,18 +281,19 @@ async def next_page(bot, query):
if n_offset == 0:
btn.append(
[InlineKeyboardButton("ʙᴀᴄᴋ", callback_data=f"next_{req}_{key}_{off_set}"),
- InlineKeyboardButton(f"ᴘᴀɢᴇs {math.ceil(int(offset) / 10) + 1} / {math.ceil(total / 10)}",
- callback_data="pages")]
+ InlineKeyboardButton(f"ᴘᴀɢᴇs {math.ceil(int(offset) / 10) + 1} / {math.ceil(total / 10)}", callback_data="pages"),
+ InlineKeyboardButton("ᴅᴇʟᴇᴛᴇ", callback_data="close_data")]
)
elif off_set is None:
btn.append(
- [InlineKeyboardButton(f"🗓️ {math.ceil(int(offset) / 10) + 1} / {math.ceil(total / 10)}", callback_data="pages"),
+ [InlineKeyboardButton("ᴩᴀɢᴇꜱ", callback_data="pages"),
+ InlineKeyboardButton(f"{math.ceil(int(offset) / 10) + 1} / {math.ceil(total / 10)}", callback_data="pages"),
InlineKeyboardButton("ɴᴇxᴛ", callback_data=f"next_{req}_{key}_{n_offset}")])
else:
btn.append(
[
InlineKeyboardButton("ʙᴀᴄᴋ", callback_data=f"next_{req}_{key}_{off_set}"),
- InlineKeyboardButton(f"🗓️ {math.ceil(int(offset) / 10) + 1} / {math.ceil(total / 10)}", callback_data="pages"),
+ InlineKeyboardButton(f"{math.ceil(int(offset) / 10) + 1} / {math.ceil(total / 10)}", callback_data="pages"),
InlineKeyboardButton("ɴᴇxᴛ", callback_data=f"next_{req}_{key}_{n_offset}")
],
)
@@ -1244,12 +1245,13 @@ async def auto_filter(client, msg, spoll=False):
BUTTONS[key] = search
req = message.from_user.id if message.from_user else 0
btn.append(
- [InlineKeyboardButton(text=f"🗓️ 1/{math.ceil(int(total_results) / 10)}", callback_data="pages"),
+ [InlineKeyboardButton("ᴩᴀɢᴇꜱ", callback_data="pages"),
+ InlineKeyboardButton(text=f"1/{math.ceil(int(total_results) / 10)}", callback_data="pages"),
InlineKeyboardButton(text="ɴᴇxᴛ", callback_data=f"next_{req}_{key}_{offset}")]
)
else:
btn.append(
- [InlineKeyboardButton(text="ᴍᴏʀᴇ ᴘᴀɢᴇ ɴᴏᴛᴇ ᴀᴠᴀɪʟᴀʙʟᴇ", callback_data="pages")]
+ [InlineKeyboardButton(text="ᴍᴏʀᴇ ᴘᴀɢᴇꜱ ɴᴏᴛᴇ ᴀᴠᴀɪʟᴀʙʟᴇ", callback_data="pages")]
)
imdb = await get_poster(search, file=(files[0]).file_name) if settings["imdb"] else None
TEMPLATE = settings['template']
From ad7bb0004060aa94f8bcf1d989f5e68b31390111 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 15 Apr 2023 15:19:23 +0530
Subject: [PATCH 075/137] Update pm_filter.py
---
plugins/pm_filter.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index f201e31e..c7e1fe14 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -1293,28 +1293,28 @@ async def auto_filter(client, msg, spoll=False):
try:
z = await message.reply_photo(photo=imdb.get('poster'), caption=cap[:1024],
reply_markup=InlineKeyboardMarkup(btn))
- if SELF_DELETE:
+ if SELF_DELETE is True:
await asyncio.sleep(SELF_DELETE_SECONDS)
await z.delete()
except (MediaEmpty, PhotoInvalidDimensions, WebpageMediaEmpty):
pic = imdb.get('poster')
poster = pic.replace('.jpg', "._V1_UX360.jpg")
m = await message.reply_photo(photo=poster, caption=cap[:1024], reply_markup=InlineKeyboardMarkup(btn))
- if SELF_DELETE:
+ if SELF_DELETE is True:
await asyncio.sleep(SELF_DELETE_SECONDS)
await m.delete()
except Exception as e:
logger.exception(e)
n = await message.reply_photo(photo='https://telegra.ph/file/1e7053b9292bb4b8ed80a.jpg', caption=cap, reply_markup=InlineKeyboardMarkup(btn))
- if SELF_DELETE:
+ if SELF_DELETE is True:
await asyncio.sleep(SELF_DELETE_SECONDS)
await n.delete()
else:
p = await message.reply_photo(photo='https://telegra.ph/file/1e7053b9292bb4b8ed80a.jpg', caption=cap, reply_markup=InlineKeyboardMarkup(btn))
await asyncio.sleep(250)
await p.delete()
- if SELF_DELETE:
+ if SELF_DELETE is True:
await asyncio.sleep(SELF_DELETE_SECONDS)
await p.delete()
if spoll:
From dd5836bf957c2373fc268ec76fad2d829db02e4a Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Tue, 18 Apr 2023 08:44:19 +0530
Subject: [PATCH 076/137] Update info.py
---
info.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/info.py b/info.py
index 6d44b2f8..61fd97a7 100644
--- a/info.py
+++ b/info.py
@@ -51,6 +51,9 @@ def is_enabled(value, default):
INDEX_REQ_CHANNEL = int(environ.get('INDEX_REQ_CHANNEL', LOG_CHANNEL))
FILE_STORE_CHANNEL = [int(ch) for ch in (environ.get('FILE_STORE_CHANNEL', '')).split()]
MELCOW_NEW_USERS = is_enabled((environ.get('MELCOW_NEW_USERS', "True")), True)
+WELCOM_PIC = environ.get("WELCOM_PIC", "")
+
+WELCOM_TEXT = environ.get("WELCOM_TEXT", "Hai {user}\nwelcome to {chat}")
PROTECT_CONTENT = is_enabled((environ.get('PROTECT_CONTENT', "True")), False)
PUBLIC_FILE_STORE = is_enabled((environ.get('PUBLIC_FILE_STORE', "False")), False)
From 3cbd29a51b5686daac8ae1acd2b42d0f3c8a5ffb Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Tue, 18 Apr 2023 08:45:22 +0530
Subject: [PATCH 077/137] Update info.py
---
info.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/info.py b/info.py
index 61fd97a7..baf92190 100644
--- a/info.py
+++ b/info.py
@@ -52,7 +52,6 @@ def is_enabled(value, default):
FILE_STORE_CHANNEL = [int(ch) for ch in (environ.get('FILE_STORE_CHANNEL', '')).split()]
MELCOW_NEW_USERS = is_enabled((environ.get('MELCOW_NEW_USERS', "True")), True)
WELCOM_PIC = environ.get("WELCOM_PIC", "")
-
WELCOM_TEXT = environ.get("WELCOM_TEXT", "Hai {user}\nwelcome to {chat}")
PROTECT_CONTENT = is_enabled((environ.get('PROTECT_CONTENT', "True")), False)
PUBLIC_FILE_STORE = is_enabled((environ.get('PUBLIC_FILE_STORE', "False")), False)
From 007728522fe4acfa6fcd0fde3eb74f00a4916675 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Tue, 18 Apr 2023 08:59:08 +0530
Subject: [PATCH 078/137] Update p_ttishow.py
---
plugins/p_ttishow.py | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/plugins/p_ttishow.py b/plugins/p_ttishow.py
index e206e435..67668a81 100644
--- a/plugins/p_ttishow.py
+++ b/plugins/p_ttishow.py
@@ -1,7 +1,7 @@
from pyrogram import Client, filters, enums
from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup
from pyrogram.errors.exceptions.bad_request_400 import MessageTooLong, PeerIdInvalid
-from info import ADMINS, LOG_CHANNEL, SUPPORT_CHAT, MELCOW_NEW_USERS
+from info import ADMINS, LOG_CHANNEL, SUPPORT_CHAT, WELCOME_PIC, WELCOME_TEXT
from database.users_chats_db import db
from database.ia_filterdb import Media
from utils import get_size, temp, get_settings
@@ -49,11 +49,16 @@ async def save_group(bot, message):
if settings["welcome"]:
for u in message.new_chat_members:
if (temp.MELCOW).get('welcome') is not None:
- try:
- await (temp.MELCOW['welcome']).delete()
- except:
- pass
- temp.MELCOW['welcome'] = await message.reply(f"Hey , {u.mention}, Welcome to {message.chat.title}")
+ try:
+ await (temp.MELCOW['welcome']).delete()
+ except:
+ pass
+ if WELCOM_PIC:
+ temp.MELCOW['welcome'] = await message.reply_photo(photo=WELCOM_PIC, caption=WELCOM_TEXT.format(user=u.mention, chat=message.chat.title),
+ reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🇦🇺 ᴇɴɢ", callback_data="engwlc"),InlineKeyboardButton("🇮🇳 ʜɴᴅ", callback_data="hndwlc"),InlineKeyboardButton("🇸🇦 ᴀʀʙ", callback_data="arbwlc")]]))
+ else:
+ temp.MELCOW['welcome'] = await message.reply_text(text=WELCOM_TEXT.format(user=u.mention, chat=message.chat.title),
+ reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("hi", callback_data="close_data")]]))
@Client.on_message(filters.command('leave') & filters.user(ADMINS))
From fd3d6dd747eb692a6a7e5f23ab002e73f512c0ff Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Tue, 18 Apr 2023 09:02:44 +0530
Subject: [PATCH 079/137] Update p_ttishow.py
---
plugins/p_ttishow.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/p_ttishow.py b/plugins/p_ttishow.py
index 67668a81..50dc2fc7 100644
--- a/plugins/p_ttishow.py
+++ b/plugins/p_ttishow.py
@@ -55,7 +55,7 @@ async def save_group(bot, message):
pass
if WELCOM_PIC:
temp.MELCOW['welcome'] = await message.reply_photo(photo=WELCOM_PIC, caption=WELCOM_TEXT.format(user=u.mention, chat=message.chat.title),
- reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🇦🇺 ᴇɴɢ", callback_data="engwlc"),InlineKeyboardButton("🇮🇳 ʜɴᴅ", callback_data="hndwlc"),InlineKeyboardButton("🇸🇦 ᴀʀʙ", callback_data="arbwlc")]]))
+ reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🇦🇺 ᴇɴɢ", callback_data="engwlc"),InlineKeyboardButton("🇮🇳 ʜɴᴅ", callback_data="hndwlc"),InlineKeyboardButton("🇸🇦 ᴀʀʙ", callback_data="arbwlc")],[InlineKeyboardButton("📍 ʀᴜʟᴇꜱ 📍", url="http://t.me/DrMasterTGbot?start=regole_-1001397638909")]]))
else:
temp.MELCOW['welcome'] = await message.reply_text(text=WELCOM_TEXT.format(user=u.mention, chat=message.chat.title),
reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("hi", callback_data="close_data")]]))
From fb562d48259ac2ad73ad134760e2fe981df4067c Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Tue, 18 Apr 2023 09:04:12 +0530
Subject: [PATCH 080/137] Update p_ttishow.py
---
plugins/p_ttishow.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/p_ttishow.py b/plugins/p_ttishow.py
index 50dc2fc7..5482d140 100644
--- a/plugins/p_ttishow.py
+++ b/plugins/p_ttishow.py
@@ -1,7 +1,7 @@
from pyrogram import Client, filters, enums
from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup
from pyrogram.errors.exceptions.bad_request_400 import MessageTooLong, PeerIdInvalid
-from info import ADMINS, LOG_CHANNEL, SUPPORT_CHAT, WELCOME_PIC, WELCOME_TEXT
+from info import ADMINS, LOG_CHANNEL, SUPPORT_CHAT, WELCOM_PIC, WELCOM_TEXT
from database.users_chats_db import db
from database.ia_filterdb import Media
from utils import get_size, temp, get_settings
From 4cc71be637724e3ab74f0a5085c13fdaeceac586 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Tue, 18 Apr 2023 09:06:08 +0530
Subject: [PATCH 081/137] Update p_ttishow.py
---
plugins/p_ttishow.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/p_ttishow.py b/plugins/p_ttishow.py
index 5482d140..ae374e37 100644
--- a/plugins/p_ttishow.py
+++ b/plugins/p_ttishow.py
@@ -58,7 +58,7 @@ async def save_group(bot, message):
reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🇦🇺 ᴇɴɢ", callback_data="engwlc"),InlineKeyboardButton("🇮🇳 ʜɴᴅ", callback_data="hndwlc"),InlineKeyboardButton("🇸🇦 ᴀʀʙ", callback_data="arbwlc")],[InlineKeyboardButton("📍 ʀᴜʟᴇꜱ 📍", url="http://t.me/DrMasterTGbot?start=regole_-1001397638909")]]))
else:
temp.MELCOW['welcome'] = await message.reply_text(text=WELCOM_TEXT.format(user=u.mention, chat=message.chat.title),
- reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("hi", callback_data="close_data")]]))
+ reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🇦🇺 ᴇɴɢ", callback_data="engwlc"),InlineKeyboardButton("🇮🇳 ʜɴᴅ", callback_data="hndwlc"),InlineKeyboardButton("🇸🇦 ᴀʀʙ", callback_data="arbwlc")],[InlineKeyboardButton("📍 ʀᴜʟᴇꜱ 📍", url="http://t.me/DrMasterTGbot?start=regole_-1001397638909")]]))
@Client.on_message(filters.command('leave') & filters.user(ADMINS))
From 9b688fc1523158cee48bc32ca38c2d0ab90b9689 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Tue, 18 Apr 2023 09:40:35 +0530
Subject: [PATCH 082/137] Update pm_filter.py
---
plugins/pm_filter.py | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index c7e1fe14..a59d3507 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -618,6 +618,15 @@ async def cb_handler(client: Client, query: CallbackQuery):
elif query.data == "ownn":
await query.answer("⍟───[ ᴏᴡɴᴇʀ ᴅᴇᴛᴀɪʟꜱ ]───⍟\n\n• ꜰᴜʟʟ ɴᴀᴍᴇ : ꜱʜᴀʜɪᴅ²ᵒ\n• ᴜꜱᴇʀɴᴀᴍᴇ : GT_ben\n\n⍟───[ ϟ ϟ ϟ ϟ ]───⍟", show_alert=True)
+ elif query.data == "engwlc":
+ await query.answer("ʏᴏᴜ ᴄᴀɴ ʀᴇǫᴜᴇsᴛ ᴀɴʏ ᴍᴏᴠɪᴇ ʜᴇʀᴇ. ʏᴏᴜ ᴡɪʟʟ ɢᴇᴛ ᴛʜᴇ ᴍᴏᴠɪᴇ ᴏɴʟʏ ɪғ ɪᴛ ɪs sᴘᴇʟʟᴇᴅ ᴄᴜʀʀᴇᴄᴛʟʏ\n\n(!":+?=-*) ᴅᴏɴ'ᴛ ᴜsᴇ 🚯\n\nᴍᴏᴠɪᴇ ʀᴇǫᴜᴇsᴛ ᴇxᴀᴍᴘʟᴇ\n\nᴠᴀʀɪsᴜ 2022\n\nsᴇʀɪᴇs ʀᴇǫᴜᴇsᴛ ᴇxᴀᴍᴘʟᴇ\n\nᴍᴏɴᴇʏ ʜᴇɪsᴛ S01E01", show_alert=True)
+
+ elif query.data == "hndwlc":
+ await query.answer("आप यहां किसी भी फिल्म के लिए अनुरोध कर सकते हैं। सही स्पेलिंग होने पर ही आपको मूवी मिलेगी\n\n(!":+?=-*) 🚯 का प्रयोग न करें\n\nजिस तरह से फिल्म पूछती है\n\nVarisu 2022\n\nश्रृंखला क्वेरी विधि\n\nMoney hiest S01E01", show_alert=True)
+
+ elif query.data == "arbwlc":
+ await query.answer("يمكنك طلب أي فيلم هنا. ستحصل على الفيلم فقط إذا تمت تهجئته بشكل صحيح\n\n(! ": +؟ = - *) لا تستخدم 🚯\n\nالطريقة التي يطلبها الفيلم\n\nvarisu 2022\n\nطريقة الاستعلام عن السلسلة\n\nMoney heist S01E01", show_alert=True)
+
elif query.data == "help":
buttons = [[
InlineKeyboardButton('Manual Filter', callback_data='manuelfilter'),
From e775aca6c1163d17aa7c9dfe1866b6eadb4a7891 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Tue, 18 Apr 2023 09:45:37 +0530
Subject: [PATCH 083/137] Update p_ttishow.py
---
plugins/p_ttishow.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/p_ttishow.py b/plugins/p_ttishow.py
index ae374e37..11dbdc3a 100644
--- a/plugins/p_ttishow.py
+++ b/plugins/p_ttishow.py
@@ -49,8 +49,8 @@ async def save_group(bot, message):
if settings["welcome"]:
for u in message.new_chat_members:
if (temp.MELCOW).get('welcome') is not None:
- try:
- await (temp.MELCOW['welcome']).delete()
+ try:
+ await (temp.MELCOW['welcome']).delete()
except:
pass
if WELCOM_PIC:
From e43b6d22f7c5fde8d3bac42737318ec13a785048 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Tue, 18 Apr 2023 09:50:29 +0530
Subject: [PATCH 084/137] Update p_ttishow.py
---
plugins/p_ttishow.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/plugins/p_ttishow.py b/plugins/p_ttishow.py
index 11dbdc3a..0e052ee6 100644
--- a/plugins/p_ttishow.py
+++ b/plugins/p_ttishow.py
@@ -53,12 +53,12 @@ async def save_group(bot, message):
await (temp.MELCOW['welcome']).delete()
except:
pass
- if WELCOM_PIC:
- temp.MELCOW['welcome'] = await message.reply_photo(photo=WELCOM_PIC, caption=WELCOM_TEXT.format(user=u.mention, chat=message.chat.title),
- reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🇦🇺 ᴇɴɢ", callback_data="engwlc"),InlineKeyboardButton("🇮🇳 ʜɴᴅ", callback_data="hndwlc"),InlineKeyboardButton("🇸🇦 ᴀʀʙ", callback_data="arbwlc")],[InlineKeyboardButton("📍 ʀᴜʟᴇꜱ 📍", url="http://t.me/DrMasterTGbot?start=regole_-1001397638909")]]))
- else:
- temp.MELCOW['welcome'] = await message.reply_text(text=WELCOM_TEXT.format(user=u.mention, chat=message.chat.title),
- reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🇦🇺 ᴇɴɢ", callback_data="engwlc"),InlineKeyboardButton("🇮🇳 ʜɴᴅ", callback_data="hndwlc"),InlineKeyboardButton("🇸🇦 ᴀʀʙ", callback_data="arbwlc")],[InlineKeyboardButton("📍 ʀᴜʟᴇꜱ 📍", url="http://t.me/DrMasterTGbot?start=regole_-1001397638909")]]))
+ if WELCOM_PIC:
+ temp.MELCOW['welcome'] = await message.reply_photo(photo=WELCOM_PIC, caption=WELCOM_TEXT.format(user=u.mention, chat=message.chat.title),
+ reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🇦🇺 ᴇɴɢ", callback_data="engwlc"),InlineKeyboardButton("🇮🇳 ʜɴᴅ", callback_data="hndwlc"),InlineKeyboardButton("🇸🇦 ᴀʀʙ", callback_data="arbwlc")],[InlineKeyboardButton("📍 ʀᴜʟᴇꜱ 📍", url="http://t.me/DrMasterTGbot?start=regole_-1001397638909")]]))
+ else:
+ temp.MELCOW['welcome'] = await message.reply_text(text=WELCOM_TEXT.format(user=u.mention, chat=message.chat.title),
+ reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🇦🇺 ᴇɴɢ", callback_data="engwlc"),InlineKeyboardButton("🇮🇳 ʜɴᴅ", callback_data="hndwlc"),InlineKeyboardButton("🇸🇦 ᴀʀʙ", callback_data="arbwlc")],[InlineKeyboardButton("📍 ʀᴜʟᴇꜱ 📍", url="http://t.me/DrMasterTGbot?start=regole_-1001397638909")]]))
@Client.on_message(filters.command('leave') & filters.user(ADMINS))
From 54164b77c112d53417b60b6779db318c1da76479 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Tue, 18 Apr 2023 09:55:44 +0530
Subject: [PATCH 085/137] Update p_ttishow.py
---
plugins/p_ttishow.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/p_ttishow.py b/plugins/p_ttishow.py
index 0e052ee6..c237b184 100644
--- a/plugins/p_ttishow.py
+++ b/plugins/p_ttishow.py
@@ -51,8 +51,8 @@ async def save_group(bot, message):
if (temp.MELCOW).get('welcome') is not None:
try:
await (temp.MELCOW['welcome']).delete()
- except:
- pass
+ except:
+ pass
if WELCOM_PIC:
temp.MELCOW['welcome'] = await message.reply_photo(photo=WELCOM_PIC, caption=WELCOM_TEXT.format(user=u.mention, chat=message.chat.title),
reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🇦🇺 ᴇɴɢ", callback_data="engwlc"),InlineKeyboardButton("🇮🇳 ʜɴᴅ", callback_data="hndwlc"),InlineKeyboardButton("🇸🇦 ᴀʀʙ", callback_data="arbwlc")],[InlineKeyboardButton("📍 ʀᴜʟᴇꜱ 📍", url="http://t.me/DrMasterTGbot?start=regole_-1001397638909")]]))
From ddbe62acff79cb348ce1f9ea8693415a177ae96f Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Tue, 18 Apr 2023 10:04:32 +0530
Subject: [PATCH 086/137] Update pm_filter.py
---
plugins/pm_filter.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index a59d3507..263aed6f 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -619,13 +619,13 @@ async def cb_handler(client: Client, query: CallbackQuery):
await query.answer("⍟───[ ᴏᴡɴᴇʀ ᴅᴇᴛᴀɪʟꜱ ]───⍟\n\n• ꜰᴜʟʟ ɴᴀᴍᴇ : ꜱʜᴀʜɪᴅ²ᵒ\n• ᴜꜱᴇʀɴᴀᴍᴇ : GT_ben\n\n⍟───[ ϟ ϟ ϟ ϟ ]───⍟", show_alert=True)
elif query.data == "engwlc":
- await query.answer("ʏᴏᴜ ᴄᴀɴ ʀᴇǫᴜᴇsᴛ ᴀɴʏ ᴍᴏᴠɪᴇ ʜᴇʀᴇ. ʏᴏᴜ ᴡɪʟʟ ɢᴇᴛ ᴛʜᴇ ᴍᴏᴠɪᴇ ᴏɴʟʏ ɪғ ɪᴛ ɪs sᴘᴇʟʟᴇᴅ ᴄᴜʀʀᴇᴄᴛʟʏ\n\n(!":+?=-*) ᴅᴏɴ'ᴛ ᴜsᴇ 🚯\n\nᴍᴏᴠɪᴇ ʀᴇǫᴜᴇsᴛ ᴇxᴀᴍᴘʟᴇ\n\nᴠᴀʀɪsᴜ 2022\n\nsᴇʀɪᴇs ʀᴇǫᴜᴇsᴛ ᴇxᴀᴍᴘʟᴇ\n\nᴍᴏɴᴇʏ ʜᴇɪsᴛ S01E01", show_alert=True)
+ await query.answer("ʏᴏᴜ ᴄᴀɴ ʀᴇǫᴜᴇsᴛ ᴀɴʏ ᴍᴏᴠɪᴇ ʜᴇʀᴇ. ʏᴏᴜ ᴡɪʟʟ ɢᴇᴛ ᴛʜᴇ ᴍᴏᴠɪᴇ ᴏɴʟʏ ɪғ ɪᴛ ɪs sᴘᴇʟʟᴇᴅ ᴄᴜʀʀᴇᴄᴛʟʏ\n\nᴅᴏɴ'ᴛ ᴜsᴇ 🚯 ':(!,./)\n\nᴍᴏᴠɪᴇ ʀᴇǫᴜᴇsᴛ ᴇxᴀᴍᴘʟᴇ\n\nᴠᴀʀɪsᴜ 2022\n\nsᴇʀɪᴇs ʀᴇǫᴜᴇsᴛ ᴇxᴀᴍᴘʟᴇ\n\nᴍᴏɴᴇʏ ʜᴇɪsᴛ S01E01", show_alert=True)
elif query.data == "hndwlc":
- await query.answer("आप यहां किसी भी फिल्म के लिए अनुरोध कर सकते हैं। सही स्पेलिंग होने पर ही आपको मूवी मिलेगी\n\n(!":+?=-*) 🚯 का प्रयोग न करें\n\nजिस तरह से फिल्म पूछती है\n\nVarisu 2022\n\nश्रृंखला क्वेरी विधि\n\nMoney hiest S01E01", show_alert=True)
+ await query.answer("आप यहां किसी भी फिल्म के लिए अनुरोध कर सकते हैं। सही स्पेलिंग होने पर ही आपको मूवी मिलेगी\n\n':(!,./) 🚯 का प्रयोग न करें\n\nजिस तरह से फिल्म पूछती है\n\nVarisu 2022\n\nश्रृंखला क्वेरी विधि\n\nMoney hiest S01E01", show_alert=True)
elif query.data == "arbwlc":
- await query.answer("يمكنك طلب أي فيلم هنا. ستحصل على الفيلم فقط إذا تمت تهجئته بشكل صحيح\n\n(! ": +؟ = - *) لا تستخدم 🚯\n\nالطريقة التي يطلبها الفيلم\n\nvarisu 2022\n\nطريقة الاستعلام عن السلسلة\n\nMoney heist S01E01", show_alert=True)
+ await query.answer("يمكنك طلب أي فيلم هنا. ستحصل على الفيلم فقط إذا تمت تهجئته بشكل صحيح\n\n':(!,./) لا تستخدم 🚯\n\nالطريقة التي يطلبها الفيلم\n\nvarisu 2022\n\nطريقة الاستعلام عن السلسلة\n\nMoney heist S01E01", show_alert=True)
elif query.data == "help":
buttons = [[
From 416487c890e5decd37f5f003e5e8ea02b51febd6 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Tue, 18 Apr 2023 19:33:42 +0530
Subject: [PATCH 087/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 263aed6f..e6589d60 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -622,7 +622,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
await query.answer("ʏᴏᴜ ᴄᴀɴ ʀᴇǫᴜᴇsᴛ ᴀɴʏ ᴍᴏᴠɪᴇ ʜᴇʀᴇ. ʏᴏᴜ ᴡɪʟʟ ɢᴇᴛ ᴛʜᴇ ᴍᴏᴠɪᴇ ᴏɴʟʏ ɪғ ɪᴛ ɪs sᴘᴇʟʟᴇᴅ ᴄᴜʀʀᴇᴄᴛʟʏ\n\nᴅᴏɴ'ᴛ ᴜsᴇ 🚯 ':(!,./)\n\nᴍᴏᴠɪᴇ ʀᴇǫᴜᴇsᴛ ᴇxᴀᴍᴘʟᴇ\n\nᴠᴀʀɪsᴜ 2022\n\nsᴇʀɪᴇs ʀᴇǫᴜᴇsᴛ ᴇxᴀᴍᴘʟᴇ\n\nᴍᴏɴᴇʏ ʜᴇɪsᴛ S01E01", show_alert=True)
elif query.data == "hndwlc":
- await query.answer("आप यहां किसी भी फिल्म के लिए अनुरोध कर सकते हैं। सही स्पेलिंग होने पर ही आपको मूवी मिलेगी\n\n':(!,./) 🚯 का प्रयोग न करें\n\nजिस तरह से फिल्म पूछती है\n\nVarisu 2022\n\nश्रृंखला क्वेरी विधि\n\nMoney hiest S01E01", show_alert=True)
+ await query.answer("आप यहां किसी भी फिल्म के लिए अनुरोध कर सकते हैं सही स्पेलिंग होने पर ही आपको मूवी मिलेगी\n\n':(!,./) 🚯 का प्रयोग न करें\n\nजिस तरह से फिल्म पूछती है\n\nVarisu 2022\n\nश्रृंखला क्वेरी विधि\n\nMoney hiest S01E01", show_alert=True)
elif query.data == "arbwlc":
await query.answer("يمكنك طلب أي فيلم هنا. ستحصل على الفيلم فقط إذا تمت تهجئته بشكل صحيح\n\n':(!,./) لا تستخدم 🚯\n\nالطريقة التي يطلبها الفيلم\n\nvarisu 2022\n\nطريقة الاستعلام عن السلسلة\n\nMoney heist S01E01", show_alert=True)
From eefcb4c218f20f670c511b314c141ba9ad620bae Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 19 Apr 2023 05:54:01 +0530
Subject: [PATCH 088/137] Update Procfile
---
Procfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Procfile b/Procfile
index d80f8e78..a18caa2c 100644
--- a/Procfile
+++ b/Procfile
@@ -1 +1 @@
-worker: python3 bot.py
+web: python3 bot.py
From 758adcb0c0586e565a78ded3acc8a7eddee4de9f Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 19 Apr 2023 06:17:49 +0530
Subject: [PATCH 089/137] Update Procfile
---
Procfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Procfile b/Procfile
index a18caa2c..d80f8e78 100644
--- a/Procfile
+++ b/Procfile
@@ -1 +1 @@
-web: python3 bot.py
+worker: python3 bot.py
From e37f490d72702a94f3ce0889aded1ad8e05b7140 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 19 Apr 2023 10:28:56 +0530
Subject: [PATCH 090/137] Update pm_filter.py
---
plugins/pm_filter.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index e6589d60..e645120e 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -585,6 +585,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
if f_caption is None:
f_caption = f"{title}"
await query.answer()
+ await query.message.delete()
await client.send_cached_media(
chat_id=query.from_user.id,
file_id=file_id,
From ec80b37ad4b9929f1c22f98b893537c54ddce868 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 19 Apr 2023 14:11:51 +0530
Subject: [PATCH 091/137] Update info.py
---
info.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/info.py b/info.py
index baf92190..6687a943 100644
--- a/info.py
+++ b/info.py
@@ -83,9 +83,7 @@ def is_enabled(value, default):
# Auto Delete For Group Message (Self Delete) #
SELF_DELETE_SECONDS = int(environ.get('SELF_DELETE_SECONDS', 1800))
-SELF_DELETE = environ.get('SELF_DELETE', True)
-if SELF_DELETE == "True":
- SELF_DELETE = True
+SELF_DELETE = is_enabled((environ.get('SELF_DELETE','True')), False)
# Download Tutorial Button #
DOWNLOAD_TEXT_NAME = "📥 HOW TO DOWNLOAD 📥"
From d95a3fa04adbd221ece0def15f9b460e8c84f9e9 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Tue, 13 Jun 2023 20:11:26 +0530
Subject: [PATCH 092/137] Update Procfile
---
Procfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Procfile b/Procfile
index d80f8e78..a18caa2c 100644
--- a/Procfile
+++ b/Procfile
@@ -1 +1 @@
-worker: python3 bot.py
+web: python3 bot.py
From 0ef0e064a75b68faf1e7bf1459809636d76f413b Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 14 Jun 2023 12:10:04 +0530
Subject: [PATCH 093/137] Update Procfile
---
Procfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Procfile b/Procfile
index a18caa2c..d80f8e78 100644
--- a/Procfile
+++ b/Procfile
@@ -1 +1 @@
-web: python3 bot.py
+worker: python3 bot.py
From ac62f72fbabbcbd76c6324c557f0752a29c34d2e Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 14 Jun 2023 12:14:30 +0530
Subject: [PATCH 094/137] Update Procfile
---
Procfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Procfile b/Procfile
index d80f8e78..a18caa2c 100644
--- a/Procfile
+++ b/Procfile
@@ -1 +1 @@
-worker: python3 bot.py
+web: python3 bot.py
From b11a1f115a0cc184abad15208e7f781198288ecf Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 14 Jun 2023 13:50:28 +0530
Subject: [PATCH 095/137] Update Procfile
---
Procfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Procfile b/Procfile
index a18caa2c..d80f8e78 100644
--- a/Procfile
+++ b/Procfile
@@ -1 +1 @@
-web: python3 bot.py
+worker: python3 bot.py
From da73ad5c8e419e50d195028bf9622de549d9449b Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Mon, 19 Jun 2023 00:21:41 +0530
Subject: [PATCH 096/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index e645120e..466cd742 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -1145,7 +1145,7 @@ async def auto_filter(client, msg, spoll=False):
]))
l = await message.reply_text(text=f"△ 𝙷𝚎𝚢 `{message.from_user.first_name}` 😎,\n\nനിങ്ങൾ ചോദിച്ച സിനിമ കണ്ടത്താൻ കഴിഞ്ഞില്ല താഴെ പറയുന്നത് ശ്രദ്ധിക്കുക\n\n**🔴നിങ്ങൾ അയച്ചത് ശെരിയായ SPELLING❗️ ആവണം\n🔴ഈ സിനിമ OTT യിൽ റിലീസ് ആയിരിക്കണം**\n\nഇത് രണ്ടും ശെരി ആണെങ്കിൽ 5 മിനുട്ടുനുള്ളിൽ ഈ സിനിമ നിങ്ങൾക് ലഭിക്കും💯\n\nᴛʜᴇ ᴍᴏᴠɪᴇ yᴏᴜ ʀᴇqᴜᴇꜱᴛᴇᴅ ᴄᴏᴜʟᴅ ɴᴏᴛ ʙᴇ ꜰᴏᴜɴᴅ ᴩʟᴇᴀꜱᴇ ɴᴏᴛᴇ ʙᴇʟᴏᴡ\n\n**🔴ᴡʜᴀᴛ yᴏᴜ ꜱᴇɴᴛ ᴍᴜꜱᴛ ʙᴇ ᴄᴏʀʀᴇᴄᴛ ꜱᴩᴇʟʟɪɴɢ\n🔴ᴛʜɪꜱ ᴍᴏᴠɪᴇ ꜱʜᴏᴜʟᴅ ʙᴇ ʀᴇʟᴇᴀꜱᴇᴅ ᴏɴ ᴏᴛᴛ**\n\nɪꜰ ʙᴏᴛʜ ᴏꜰ ᴛʜᴇꜱᴇ ᴀʀᴇ ᴄᴏʀʀᴇᴄᴛ ᴛʜᴇɴ yᴏᴜ ᴡɪʟʟ ɢᴇᴛ ᴛʜɪꜱ ᴍᴏᴠɪᴇ ᴡɪᴛʜɪɴ 5 ᴍɪɴᴜᴛᴇꜱ💯\n\n**ᴍᴏᴠɪᴇ ɴᴀᴍᴇ** : `{search}`\n**ʀᴇqᴜᴇꜱᴛᴇᴅ ʙy** : `{message.from_user.first_name}`",
- reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🔺 Cʟᴏꜱᴇ 🔺", callback_data="close_data")]]))
+ reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🔺 Cʟᴏꜱᴇ 🔺", callback_data="close_data")], [InlineKeyboardButton("Google", callback_data="close_data")]]))
await asyncio.sleep(20)
await l.delete()
if settings["spell_check"]:
From b40584de40e3f504af0406e6566cae2a96980b4c Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Mon, 19 Jun 2023 00:49:33 +0530
Subject: [PATCH 097/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 466cd742..ef07134b 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -1145,7 +1145,7 @@ async def auto_filter(client, msg, spoll=False):
]))
l = await message.reply_text(text=f"△ 𝙷𝚎𝚢 `{message.from_user.first_name}` 😎,\n\nനിങ്ങൾ ചോദിച്ച സിനിമ കണ്ടത്താൻ കഴിഞ്ഞില്ല താഴെ പറയുന്നത് ശ്രദ്ധിക്കുക\n\n**🔴നിങ്ങൾ അയച്ചത് ശെരിയായ SPELLING❗️ ആവണം\n🔴ഈ സിനിമ OTT യിൽ റിലീസ് ആയിരിക്കണം**\n\nഇത് രണ്ടും ശെരി ആണെങ്കിൽ 5 മിനുട്ടുനുള്ളിൽ ഈ സിനിമ നിങ്ങൾക് ലഭിക്കും💯\n\nᴛʜᴇ ᴍᴏᴠɪᴇ yᴏᴜ ʀᴇqᴜᴇꜱᴛᴇᴅ ᴄᴏᴜʟᴅ ɴᴏᴛ ʙᴇ ꜰᴏᴜɴᴅ ᴩʟᴇᴀꜱᴇ ɴᴏᴛᴇ ʙᴇʟᴏᴡ\n\n**🔴ᴡʜᴀᴛ yᴏᴜ ꜱᴇɴᴛ ᴍᴜꜱᴛ ʙᴇ ᴄᴏʀʀᴇᴄᴛ ꜱᴩᴇʟʟɪɴɢ\n🔴ᴛʜɪꜱ ᴍᴏᴠɪᴇ ꜱʜᴏᴜʟᴅ ʙᴇ ʀᴇʟᴇᴀꜱᴇᴅ ᴏɴ ᴏᴛᴛ**\n\nɪꜰ ʙᴏᴛʜ ᴏꜰ ᴛʜᴇꜱᴇ ᴀʀᴇ ᴄᴏʀʀᴇᴄᴛ ᴛʜᴇɴ yᴏᴜ ᴡɪʟʟ ɢᴇᴛ ᴛʜɪꜱ ᴍᴏᴠɪᴇ ᴡɪᴛʜɪɴ 5 ᴍɪɴᴜᴛᴇꜱ💯\n\n**ᴍᴏᴠɪᴇ ɴᴀᴍᴇ** : `{search}`\n**ʀᴇqᴜᴇꜱᴛᴇᴅ ʙy** : `{message.from_user.first_name}`",
- reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("🔺 Cʟᴏꜱᴇ 🔺", callback_data="close_data")], [InlineKeyboardButton("Google", callback_data="close_data")]]))
+ reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton(f"Gᴏᴏɢʟᴇ", url=f'https://google.com/search?q={reply}'), InlineKeyboardButton(f"Yɴᴅᴇx", url=f'https://google.com/search?q={reply}')], [InlineKeyboardButton("Cʟᴏꜱᴇ", callback_data="close_data"]]))
await asyncio.sleep(20)
await l.delete()
if settings["spell_check"]:
From 879d8118a0fcea89580e3e32e229cbfab7a9dcb7 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Mon, 19 Jun 2023 01:04:39 +0530
Subject: [PATCH 098/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index ef07134b..b448d45c 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -1145,7 +1145,7 @@ async def auto_filter(client, msg, spoll=False):
]))
l = await message.reply_text(text=f"△ 𝙷𝚎𝚢 `{message.from_user.first_name}` 😎,\n\nനിങ്ങൾ ചോദിച്ച സിനിമ കണ്ടത്താൻ കഴിഞ്ഞില്ല താഴെ പറയുന്നത് ശ്രദ്ധിക്കുക\n\n**🔴നിങ്ങൾ അയച്ചത് ശെരിയായ SPELLING❗️ ആവണം\n🔴ഈ സിനിമ OTT യിൽ റിലീസ് ആയിരിക്കണം**\n\nഇത് രണ്ടും ശെരി ആണെങ്കിൽ 5 മിനുട്ടുനുള്ളിൽ ഈ സിനിമ നിങ്ങൾക് ലഭിക്കും💯\n\nᴛʜᴇ ᴍᴏᴠɪᴇ yᴏᴜ ʀᴇqᴜᴇꜱᴛᴇᴅ ᴄᴏᴜʟᴅ ɴᴏᴛ ʙᴇ ꜰᴏᴜɴᴅ ᴩʟᴇᴀꜱᴇ ɴᴏᴛᴇ ʙᴇʟᴏᴡ\n\n**🔴ᴡʜᴀᴛ yᴏᴜ ꜱᴇɴᴛ ᴍᴜꜱᴛ ʙᴇ ᴄᴏʀʀᴇᴄᴛ ꜱᴩᴇʟʟɪɴɢ\n🔴ᴛʜɪꜱ ᴍᴏᴠɪᴇ ꜱʜᴏᴜʟᴅ ʙᴇ ʀᴇʟᴇᴀꜱᴇᴅ ᴏɴ ᴏᴛᴛ**\n\nɪꜰ ʙᴏᴛʜ ᴏꜰ ᴛʜᴇꜱᴇ ᴀʀᴇ ᴄᴏʀʀᴇᴄᴛ ᴛʜᴇɴ yᴏᴜ ᴡɪʟʟ ɢᴇᴛ ᴛʜɪꜱ ᴍᴏᴠɪᴇ ᴡɪᴛʜɪɴ 5 ᴍɪɴᴜᴛᴇꜱ💯\n\n**ᴍᴏᴠɪᴇ ɴᴀᴍᴇ** : `{search}`\n**ʀᴇqᴜᴇꜱᴛᴇᴅ ʙy** : `{message.from_user.first_name}`",
- reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton(f"Gᴏᴏɢʟᴇ", url=f'https://google.com/search?q={reply}'), InlineKeyboardButton(f"Yɴᴅᴇx", url=f'https://google.com/search?q={reply}')], [InlineKeyboardButton("Cʟᴏꜱᴇ", callback_data="close_data"]]))
+ reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("━ • │▌║ ᗩᗪᗪ ʍɛ 2 ᑌᖇ Ǥᖇᗝᑌᑭ ║▌│ • ━", url=f'http://t.me/{temp.U_NAME}?startgroup=true')],[InlineKeyboardButton("✪ Dev Ch- ✪", url=f"https://t.me/{DEV_CHANNEL_USRNM}"), InlineKeyboardButton("✪ YT ✪", url=f"https://youtube.com/@{LAZY_YT_HANDLE}"), InlineKeyboardButton("✪ Main Ch- ✪", url=f"https://t.me/{MAIN_CHANNEL_USRNM}")],[InlineKeyboardButton("╚»♥️ Thank You ♥️«╝", callback_data="close_data")]]))
await asyncio.sleep(20)
await l.delete()
if settings["spell_check"]:
From 3d54d7345ad97b36a8a24ed984868897e306e7fe Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Mon, 19 Jun 2023 01:16:17 +0530
Subject: [PATCH 099/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index b448d45c..9d271771 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -1145,7 +1145,7 @@ async def auto_filter(client, msg, spoll=False):
]))
l = await message.reply_text(text=f"△ 𝙷𝚎𝚢 `{message.from_user.first_name}` 😎,\n\nനിങ്ങൾ ചോദിച്ച സിനിമ കണ്ടത്താൻ കഴിഞ്ഞില്ല താഴെ പറയുന്നത് ശ്രദ്ധിക്കുക\n\n**🔴നിങ്ങൾ അയച്ചത് ശെരിയായ SPELLING❗️ ആവണം\n🔴ഈ സിനിമ OTT യിൽ റിലീസ് ആയിരിക്കണം**\n\nഇത് രണ്ടും ശെരി ആണെങ്കിൽ 5 മിനുട്ടുനുള്ളിൽ ഈ സിനിമ നിങ്ങൾക് ലഭിക്കും💯\n\nᴛʜᴇ ᴍᴏᴠɪᴇ yᴏᴜ ʀᴇqᴜᴇꜱᴛᴇᴅ ᴄᴏᴜʟᴅ ɴᴏᴛ ʙᴇ ꜰᴏᴜɴᴅ ᴩʟᴇᴀꜱᴇ ɴᴏᴛᴇ ʙᴇʟᴏᴡ\n\n**🔴ᴡʜᴀᴛ yᴏᴜ ꜱᴇɴᴛ ᴍᴜꜱᴛ ʙᴇ ᴄᴏʀʀᴇᴄᴛ ꜱᴩᴇʟʟɪɴɢ\n🔴ᴛʜɪꜱ ᴍᴏᴠɪᴇ ꜱʜᴏᴜʟᴅ ʙᴇ ʀᴇʟᴇᴀꜱᴇᴅ ᴏɴ ᴏᴛᴛ**\n\nɪꜰ ʙᴏᴛʜ ᴏꜰ ᴛʜᴇꜱᴇ ᴀʀᴇ ᴄᴏʀʀᴇᴄᴛ ᴛʜᴇɴ yᴏᴜ ᴡɪʟʟ ɢᴇᴛ ᴛʜɪꜱ ᴍᴏᴠɪᴇ ᴡɪᴛʜɪɴ 5 ᴍɪɴᴜᴛᴇꜱ💯\n\n**ᴍᴏᴠɪᴇ ɴᴀᴍᴇ** : `{search}`\n**ʀᴇqᴜᴇꜱᴛᴇᴅ ʙy** : `{message.from_user.first_name}`",
- reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("━ • │▌║ ᗩᗪᗪ ʍɛ 2 ᑌᖇ Ǥᖇᗝᑌᑭ ║▌│ • ━", url=f'http://t.me/{temp.U_NAME}?startgroup=true')],[InlineKeyboardButton("✪ Dev Ch- ✪", url=f"https://t.me/{DEV_CHANNEL_USRNM}"), InlineKeyboardButton("✪ YT ✪", url=f"https://youtube.com/@{LAZY_YT_HANDLE}"), InlineKeyboardButton("✪ Main Ch- ✪", url=f"https://t.me/{MAIN_CHANNEL_USRNM}")],[InlineKeyboardButton("╚»♥️ Thank You ♥️«╝", callback_data="close_data")]]))
+ reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("Gᴏᴏɢʟᴇ", url=f"https://google.com/search?q={reply}"), InlineKeyboardButton("Yᴀɴᴅᴇx", url=f"https://yandex.com/search/?text={reply}")],[InlineKeyboardButton("Cʟᴏꜱᴇ", callback_data="close_data")]]))
await asyncio.sleep(20)
await l.delete()
if settings["spell_check"]:
From d9014e6b4078e43677e0b06b9f48193c9331873f Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Mon, 19 Jun 2023 01:27:38 +0530
Subject: [PATCH 100/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 9d271771..4f63e009 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -1145,7 +1145,7 @@ async def auto_filter(client, msg, spoll=False):
]))
l = await message.reply_text(text=f"△ 𝙷𝚎𝚢 `{message.from_user.first_name}` 😎,\n\nനിങ്ങൾ ചോദിച്ച സിനിമ കണ്ടത്താൻ കഴിഞ്ഞില്ല താഴെ പറയുന്നത് ശ്രദ്ധിക്കുക\n\n**🔴നിങ്ങൾ അയച്ചത് ശെരിയായ SPELLING❗️ ആവണം\n🔴ഈ സിനിമ OTT യിൽ റിലീസ് ആയിരിക്കണം**\n\nഇത് രണ്ടും ശെരി ആണെങ്കിൽ 5 മിനുട്ടുനുള്ളിൽ ഈ സിനിമ നിങ്ങൾക് ലഭിക്കും💯\n\nᴛʜᴇ ᴍᴏᴠɪᴇ yᴏᴜ ʀᴇqᴜᴇꜱᴛᴇᴅ ᴄᴏᴜʟᴅ ɴᴏᴛ ʙᴇ ꜰᴏᴜɴᴅ ᴩʟᴇᴀꜱᴇ ɴᴏᴛᴇ ʙᴇʟᴏᴡ\n\n**🔴ᴡʜᴀᴛ yᴏᴜ ꜱᴇɴᴛ ᴍᴜꜱᴛ ʙᴇ ᴄᴏʀʀᴇᴄᴛ ꜱᴩᴇʟʟɪɴɢ\n🔴ᴛʜɪꜱ ᴍᴏᴠɪᴇ ꜱʜᴏᴜʟᴅ ʙᴇ ʀᴇʟᴇᴀꜱᴇᴅ ᴏɴ ᴏᴛᴛ**\n\nɪꜰ ʙᴏᴛʜ ᴏꜰ ᴛʜᴇꜱᴇ ᴀʀᴇ ᴄᴏʀʀᴇᴄᴛ ᴛʜᴇɴ yᴏᴜ ᴡɪʟʟ ɢᴇᴛ ᴛʜɪꜱ ᴍᴏᴠɪᴇ ᴡɪᴛʜɪɴ 5 ᴍɪɴᴜᴛᴇꜱ💯\n\n**ᴍᴏᴠɪᴇ ɴᴀᴍᴇ** : `{search}`\n**ʀᴇqᴜᴇꜱᴛᴇᴅ ʙy** : `{message.from_user.first_name}`",
- reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("Gᴏᴏɢʟᴇ", url=f"https://google.com/search?q={reply}"), InlineKeyboardButton("Yᴀɴᴅᴇx", url=f"https://yandex.com/search/?text={reply}")],[InlineKeyboardButton("Cʟᴏꜱᴇ", callback_data="close_data")]]))
+ reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("Gᴏᴏɢʟᴇ", url=f"https://google.com/search?q={search}"), InlineKeyboardButton("Yᴀɴᴅᴇx", url=f"https://yandex.com/search/?text={search}")],[InlineKeyboardButton("Cʟᴏꜱᴇ", callback_data="close_data")]]))
await asyncio.sleep(20)
await l.delete()
if settings["spell_check"]:
From 19cc6bc69bacec5f1176556ffe8a6ecd3922eef9 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Mon, 19 Jun 2023 01:46:58 +0530
Subject: [PATCH 101/137] Update pm_filter.py
---
plugins/pm_filter.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 4f63e009..9eb46e99 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -1144,7 +1144,7 @@ async def auto_filter(client, msg, spoll=False):
[InlineKeyboardButton(text=f"😒Not Available", callback_data=f"notify_user_not_avail:{user_id}:{requested_movie}"),InlineKeyboardButton("❌Reject Req", callback_data=f"notify_user_req_rejected:{user_id}:{requested_movie}")],
]))
- l = await message.reply_text(text=f"△ 𝙷𝚎𝚢 `{message.from_user.first_name}` 😎,\n\nനിങ്ങൾ ചോദിച്ച സിനിമ കണ്ടത്താൻ കഴിഞ്ഞില്ല താഴെ പറയുന്നത് ശ്രദ്ധിക്കുക\n\n**🔴നിങ്ങൾ അയച്ചത് ശെരിയായ SPELLING❗️ ആവണം\n🔴ഈ സിനിമ OTT യിൽ റിലീസ് ആയിരിക്കണം**\n\nഇത് രണ്ടും ശെരി ആണെങ്കിൽ 5 മിനുട്ടുനുള്ളിൽ ഈ സിനിമ നിങ്ങൾക് ലഭിക്കും💯\n\nᴛʜᴇ ᴍᴏᴠɪᴇ yᴏᴜ ʀᴇqᴜᴇꜱᴛᴇᴅ ᴄᴏᴜʟᴅ ɴᴏᴛ ʙᴇ ꜰᴏᴜɴᴅ ᴩʟᴇᴀꜱᴇ ɴᴏᴛᴇ ʙᴇʟᴏᴡ\n\n**🔴ᴡʜᴀᴛ yᴏᴜ ꜱᴇɴᴛ ᴍᴜꜱᴛ ʙᴇ ᴄᴏʀʀᴇᴄᴛ ꜱᴩᴇʟʟɪɴɢ\n🔴ᴛʜɪꜱ ᴍᴏᴠɪᴇ ꜱʜᴏᴜʟᴅ ʙᴇ ʀᴇʟᴇᴀꜱᴇᴅ ᴏɴ ᴏᴛᴛ**\n\nɪꜰ ʙᴏᴛʜ ᴏꜰ ᴛʜᴇꜱᴇ ᴀʀᴇ ᴄᴏʀʀᴇᴄᴛ ᴛʜᴇɴ yᴏᴜ ᴡɪʟʟ ɢᴇᴛ ᴛʜɪꜱ ᴍᴏᴠɪᴇ ᴡɪᴛʜɪɴ 5 ᴍɪɴᴜᴛᴇꜱ💯\n\n**ᴍᴏᴠɪᴇ ɴᴀᴍᴇ** : `{search}`\n**ʀᴇqᴜᴇꜱᴛᴇᴅ ʙy** : `{message.from_user.first_name}`",
+ l = await message.reply_text(text="Google, yendex എന്ന് എഴുതിയിരിക്കുന്ന ഏതെങ്കിലും ബട്ടണിൽ ക്ലിക്ക് ചെയ്ത് ശരിയായ സിനിമയുടെ പേര് കണ്ടെത്തി ഇവിടെ നൽകുക എന്നാലേ സിനിമ / Tv . Web സീരിയസ് കിട്ടുകയുള്ളു..\n\nഎന്നിട്ടും കിട്ടുന്നില്ല എങ്കിൽ. @admin ശേഷം മൂവി Name & year. Example : @admin kala 2020 ഈ രീതിയിൽ ഗ്രൂപ്പിൽ സെന്റ് ചെയുക. 24 മണിക്കൂറിനുള്ളിൽ അഡ്മിൻ അപ്ലോഡ് ചെയ്യും\n\nതിയേറ്ററിൽ റിലീസ് ആയ മൂവിയാണ് ചോദിച്ചതെങ്കിൽ കിട്ടില്ല ott Dvd റിലീസ് ആയാൽ മാത്രമേ കിട്ടുള്ളൂ",
reply_markup=InlineKeyboardMarkup([[InlineKeyboardButton("Gᴏᴏɢʟᴇ", url=f"https://google.com/search?q={search}"), InlineKeyboardButton("Yᴀɴᴅᴇx", url=f"https://yandex.com/search/?text={search}")],[InlineKeyboardButton("Cʟᴏꜱᴇ", callback_data="close_data")]]))
await asyncio.sleep(20)
await l.delete()
From da3bc624e1e61e2235beed313f2f69a075cbc61c Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 21 Jun 2023 22:17:05 +0530
Subject: [PATCH 102/137] Update info.py
---
info.py | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/info.py b/info.py
index 6687a943..888d5459 100644
--- a/info.py
+++ b/info.py
@@ -12,33 +12,33 @@ def is_enabled(value, default):
# Bot information
SESSION = environ.get('SESSION', 'Media_search')
-API_ID = int(environ['API_ID'])
-API_HASH = environ['API_HASH']
-BOT_TOKEN = environ['BOT_TOKEN']
+API_ID = int(environ['API_ID','15428219'])
+API_HASH = environ['API_HASH','0042e5b26181a1e95ca40a7f7c51eaa7']
+BOT_TOKEN = environ['BOT_TOKEN','5131979265:AAHqw4dBlu2oZ0ib34t5eVY_5-vjKD1Tp-s']
# Bot settings
CACHE_TIME = int(environ.get('CACHE_TIME', 300))
USE_CAPTION_FILTER = bool(environ.get('USE_CAPTION_FILTER', False))
-PICS = (environ.get('PICS', 'https://telegra.ph/file/7e56d907542396289fee4.jpg https://telegra.ph/file/9aa8dd372f4739fe02d85.jpg https://telegra.ph/file/adffc5ce502f5578e2806.jpg https://telegra.ph/file/6937b60bc2617597b92fd.jpg https://telegra.ph/file/09a7abaab340143f9c7e7.jpg https://telegra.ph/file/5a82c4a59bd04d415af1c.jpg https://telegra.ph/file/323986d3bd9c4c1b3cb26.jpg https://telegra.ph/file/b8a82dcb89fb296f92ca0.jpg https://telegra.ph/file/31adab039a85ed88e22b0.jpg https://telegra.ph/file/c0e0f4c3ed53ac8438f34.jpg https://telegra.ph/file/eede835fb3c37e07c9cee.jpg https://telegra.ph/file/e17d2d068f71a9867d554.jpg https://telegra.ph/file/8fb1ae7d995e8735a7c25.jpg https://telegra.ph/file/8fed19586b4aa019ec215.jpg https://telegra.ph/file/8e6c923abd6139083e1de.jpg https://telegra.ph/file/0049d801d29e83d68b001.jpg')).split()
+PICS = (environ.get('PICS', 'https://telegra.ph/file/752902d61af6aade198b6.jpg')).split()
# Admins, Channels & Users
-ADMINS = [int(admin) if id_pattern.search(admin) else admin for admin in environ.get('ADMINS', '').split()]
-CHANNELS = [int(ch) if id_pattern.search(ch) else ch for ch in environ.get('CHANNELS', '0').split()]
-auth_users = [int(user) if id_pattern.search(user) else user for user in environ.get('AUTH_USERS', '').split()]
+ADMINS = [int(admin) if id_pattern.search(admin) else admin for admin in environ.get('ADMINS', '1653535224').split()]
+CHANNELS = [int(ch) if id_pattern.search(ch) else ch for ch in environ.get('CHANNELS', '-1001794801335').split()]
+auth_users = [int(user) if id_pattern.search(user) else user for user in environ.get('AUTH_USERS', '1653535224').split()]
AUTH_USERS = (auth_users + ADMINS) if auth_users else []
-auth_channel = environ.get('AUTH_CHANNEL')
+auth_channel = environ.get('AUTH_CHANNEL','-1001663310507')
auth_grp = environ.get('AUTH_GROUP')
AUTH_CHANNEL = int(auth_channel) if auth_channel and id_pattern.search(auth_channel) else None
AUTH_GROUPS = [int(ch) for ch in auth_grp.split()] if auth_grp else None
# MongoDB information
-DATABASE_URI = environ.get('DATABASE_URI', "")
-DATABASE_NAME = environ.get('DATABASE_NAME', "LazyDeveloper")
+DATABASE_URI = environ.get('DATABASE_URI', "mongodb+srv://LZ:LZ@lazy.bpfbprq.mongodb.net/?retryWrites=true&w=majority")
+DATABASE_NAME = environ.get('DATABASE_NAME', "movieboss")
COLLECTION_NAME = environ.get('COLLECTION_NAME', 'Telegram_files')
# Others
-LOG_CHANNEL = int(environ.get('LOG_CHANNEL', 0))
-SUPPORT_CHAT = environ.get('SUPPORT_CHAT', 'LazyDeveloper')
+LOG_CHANNEL = int(environ.get('LOG_CHANNEL', "-1001592766451"))
+SUPPORT_CHAT = environ.get('SUPPORT_CHAT', 'MovieBossTG')
P_TTI_SHOW_OFF = is_enabled((environ.get('P_TTI_SHOW_OFF', "False")), False)
IMDB = is_enabled((environ.get('IMDB', "True")), True)
SINGLE_BUTTON = is_enabled((environ.get('SINGLE_BUTTON', "False")), False)
From 0fce7b937fc8bb34029d71c86f1cb54d48a8c717 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 21 Jun 2023 22:23:01 +0530
Subject: [PATCH 103/137] Update info.py
---
info.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/info.py b/info.py
index 888d5459..509c2913 100644
--- a/info.py
+++ b/info.py
@@ -40,8 +40,8 @@ def is_enabled(value, default):
LOG_CHANNEL = int(environ.get('LOG_CHANNEL', "-1001592766451"))
SUPPORT_CHAT = environ.get('SUPPORT_CHAT', 'MovieBossTG')
P_TTI_SHOW_OFF = is_enabled((environ.get('P_TTI_SHOW_OFF', "False")), False)
-IMDB = is_enabled((environ.get('IMDB', "True")), True)
-SINGLE_BUTTON = is_enabled((environ.get('SINGLE_BUTTON', "False")), False)
+IMDB = is_enabled((environ.get('IMDB', "False")), True)
+SINGLE_BUTTON = is_enabled((environ.get('SINGLE_BUTTON', "True")), False)
CUSTOM_FILE_CAPTION = environ.get("CUSTOM_FILE_CAPTION", "Fɪʟᴇ ɴᴀᴍᴇ:{file_name}\n\n=========== • ✠ •\n===========\n◽️ ɢʀᴏᴜᴩ : @MovieBossTG\n◽️ ᴏᴡɴᴇʀ : @GT_ben\n=========== • ✠ •\n===========")
BATCH_FILE_CAPTION = environ.get("BATCH_FILE_CAPTION", CUSTOM_FILE_CAPTION)
IMDB_TEMPLATE = environ.get("IMDB_TEMPLATE", "Your Query: {query} \nIMDb Data by: @LazyDeveloper \n\n🏷 Title: {title}\n🎭 Genres: {genres}\n📆 Year: {year}\n🌟 Rating: {rating} / 10 \n\n♥️ we are nothing without you ♥️ \n\n💛 Please Share Us 💛\n\n⚠️Click on the button 👇 below to get your query privately")
From f37476a2cc52ace62e8ae983669361de21b45cb4 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Wed, 21 Jun 2023 23:10:53 +0530
Subject: [PATCH 104/137] Update info.py
---
info.py | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/info.py b/info.py
index 509c2913..6a55b264 100644
--- a/info.py
+++ b/info.py
@@ -43,7 +43,7 @@ def is_enabled(value, default):
IMDB = is_enabled((environ.get('IMDB', "False")), True)
SINGLE_BUTTON = is_enabled((environ.get('SINGLE_BUTTON', "True")), False)
CUSTOM_FILE_CAPTION = environ.get("CUSTOM_FILE_CAPTION", "Fɪʟᴇ ɴᴀᴍᴇ:{file_name}\n\n=========== • ✠ •\n===========\n◽️ ɢʀᴏᴜᴩ : @MovieBossTG\n◽️ ᴏᴡɴᴇʀ : @GT_ben\n=========== • ✠ •\n===========")
-BATCH_FILE_CAPTION = environ.get("BATCH_FILE_CAPTION", CUSTOM_FILE_CAPTION)
+BATCH_FILE_CAPTION = environ.get("BATCH_FILE_CAPTION", "{file_caption})
IMDB_TEMPLATE = environ.get("IMDB_TEMPLATE", "Your Query: {query} \nIMDb Data by: @LazyDeveloper \n\n🏷 Title: {title}\n🎭 Genres: {genres}\n📆 Year: {year}\n🌟 Rating: {rating} / 10 \n\n♥️ we are nothing without you ♥️ \n\n💛 Please Share Us 💛\n\n⚠️Click on the button 👇 below to get your query privately")
LONG_IMDB_DESCRIPTION = is_enabled(environ.get("LONG_IMDB_DESCRIPTION", "False"), False)
SPELL_CHECK_REPLY = is_enabled(environ.get("SPELL_CHECK_REPLY", "True"), False)
@@ -51,23 +51,23 @@ def is_enabled(value, default):
INDEX_REQ_CHANNEL = int(environ.get('INDEX_REQ_CHANNEL', LOG_CHANNEL))
FILE_STORE_CHANNEL = [int(ch) for ch in (environ.get('FILE_STORE_CHANNEL', '')).split()]
MELCOW_NEW_USERS = is_enabled((environ.get('MELCOW_NEW_USERS', "True")), True)
-WELCOM_PIC = environ.get("WELCOM_PIC", "")
-WELCOM_TEXT = environ.get("WELCOM_TEXT", "Hai {user}\nwelcome to {chat}")
-PROTECT_CONTENT = is_enabled((environ.get('PROTECT_CONTENT', "True")), False)
+WELCOM_PIC = environ.get("WELCOM_PIC", "https://telegra.ph/file/752902d61af6aade198b6.jpg")
+WELCOM_TEXT = environ.get("WELCOM_TEXT", "ʜᴇy {user} ᴡᴇʟᴄᴏᴍᴇ ᴛᴏ {chat}\n\nനിങ്ങൾക് ഇവിടെ ഏത് സിനിമയും റിക്വസ്റ്റ് ചെയ്യാം. ശെരിയായ സ്പെല്ലിങ് ആയാൽ മാത്രമേ നിങ്ങൾക് സിനിമ ലഭിക്കുകയൊള്ളു\n\nyᴏᴜ ᴄᴀɴ ʀᴇqᴜᴇꜱᴛ ᴀɴy ᴍᴏᴠɪᴇ ʜᴇʀᴇ. yᴏᴜ ᴡɪʟʟ ɢᴇᴛ ᴛʜᴇ ᴍᴏᴠɪᴇ ᴏɴʟy ɪꜰ ɪᴛ ɪꜱ ꜱᴩᴇʟʟᴇᴅ ᴄᴏʀʀᴇᴄᴛʟy\nᴍᴏᴠɪᴇ ʀᴇqᴜᴇꜱᴛ ᴇxᴀᴍᴩʟᴇ\n🎪 ᴠɪᴋʀᴀᴍ 2022\nꜱᴇʀɪᴇꜱ ʀᴇqᴜᴇꜱᴛ ᴇxᴀᴍᴩʟᴇ\n🎪 ᴍᴏɴᴇy ʜᴇɪꜱᴛ S01E01")
+PROTECT_CONTENT = is_enabled((environ.get('PROTECT_CONTENT', "False")), False)
PUBLIC_FILE_STORE = is_enabled((environ.get('PUBLIC_FILE_STORE', "False")), False)
#LazyRenamer Configs
FLOOD = int(environ.get("FLOOD", "10"))
-LAZY_MODE = bool(environ.get("LAZY_MODE"))
+LAZY_MODE = bool(environ.get("LAZY_MODE","False"))
#Add user id of the user in this field those who you want to be Authentic user for file renaming features
-lazy_renamers = [int(lazrenamers) if id_pattern.search(lazrenamers) else lazrenamers for lazrenamers in environ.get('LAZY_RENAMERS', '').split()]
+lazy_renamers = [int(lazrenamers) if id_pattern.search(lazrenamers) else lazrenamers for lazrenamers in environ.get('LAZY_RENAMERS', '1653535224').split()]
LAZY_RENAMERS = (lazy_renamers + ADMINS) if lazy_renamers else []
-REQ_CHANNEL = int(environ.get('REQ_CHANNEL'))
+REQ_CHANNEL = int(environ.get('REQ_CHANNEL',"-1001903921399"))
#ai
-AI = is_enabled((environ.get("AI","True")), False)
+AI = is_enabled((environ.get("AI","False")), False)
OPENAI_API = environ.get("OPENAI_API","")
-LAZY_AI_LOGS = int(environ.get("LAZY_AI_LOGS","")) #GIVE YOUR NEW LOG CHANNEL ID TO STORE MESSAGES THAT THEY SEARCH IN BOT PM.... [ i have added this to keep an eye on the users message, to avoid misuse of LazyPrincess ]
+LAZY_AI_LOGS = int(environ.get("LAZY_AI_LOGS","-1001816312047")) #GIVE YOUR NEW LOG CHANNEL ID TO STORE MESSAGES THAT THEY SEARCH IN BOT PM.... [ i have added this to keep an eye on the users message, to avoid misuse of LazyPrincess ]
# Requested Content template variables ---
ADMIN_USRNM = environ.get('ADMIN_USRNM','real_heros') # WITHOUT @
MAIN_CHANNEL_USRNM = environ.get('MAIN_CHANNEL_USRNM','Channel_UserName') # WITHOUT @
@@ -76,7 +76,7 @@ def is_enabled(value, default):
MOVIE_GROUP_USERNAME = environ.get('MOVIE_GROUP_USERNAME', "+qAxoGBvSc34yNmU1") #[ without @ ]
# Url Shortner
-URL_MODE = is_enabled((environ.get("URL_MODE","True")), False)
+URL_MODE = is_enabled((environ.get("URL_MODE","False")), False)
URL_SHORTENR_WEBSITE = environ.get('URL_SHORTENR_WEBSITE', 'omegalinks.in') #Always use website url from api section
URL_SHORTNER_WEBSITE_API = environ.get('URL_SHORTNER_WEBSITE_API', '3e3ea22a23eecb70d24ab987ccdc596efb72f9a8')
LZURL_PRIME_USERS = [int(lazyurlers) if id_pattern.search(lazyurlers) else lazyurlers for lazyurlers in environ.get('LZURL_PRIME_USERS', '5965340120').split()]
From ab16549b44337d357846255bc51b07d5a32da192 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 23 Jun 2023 23:39:16 +0530
Subject: [PATCH 105/137] Update and rename ai_LazyDeveloper.py to
bg_LazyDeveloper.py
---
ai_LazyDeveloper.py => bg_LazyDeveloper.py | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename ai_LazyDeveloper.py => bg_LazyDeveloper.py (100%)
diff --git a/ai_LazyDeveloper.py b/bg_LazyDeveloper.py
similarity index 100%
rename from ai_LazyDeveloper.py
rename to bg_LazyDeveloper.py
From 568e4c5b1d24254bd36923f991dba69e17f09970 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 23 Jun 2023 23:46:08 +0530
Subject: [PATCH 106/137] Delete zzz_ai_LazyDeveloper.py
---
plugins/zzz_ai_LazyDeveloper.py | 174 --------------------------------
1 file changed, 174 deletions(-)
delete mode 100644 plugins/zzz_ai_LazyDeveloper.py
diff --git a/plugins/zzz_ai_LazyDeveloper.py b/plugins/zzz_ai_LazyDeveloper.py
deleted file mode 100644
index 6cb2f8a9..00000000
--- a/plugins/zzz_ai_LazyDeveloper.py
+++ /dev/null
@@ -1,174 +0,0 @@
-from utils import temp
-from pyrogram.types import InlineKeyboardMarkup, InlineKeyboardButton
-from pyrogram import Client, filters
-from info import *
-import openai
-openai.api_key = OPENAI_API
-
-@Client.on_message(filters.private & filters.text)
-async def lazy_answer(client, message):
- if AI == True:
- user_id = message.from_user.id
- if user_id:
- try:
- lazy_users_message = message.text
- user_id = message.from_user.id
- response = openai.Completion.create(
- model = "text-davinci-003",
- prompt = lazy_users_message,
- temperature = 0.5,
- max_tokens = 1000,
- top_p=1,
- frequency_penalty=0.1,
- presence_penalty = 0.0,
- )
- btn=[
- [InlineKeyboardButton(text=f"⇱🤷♀️ Take Action 🗃️⇲", url=f'https://t.me/{temp.U_NAME}')],
- [InlineKeyboardButton(text=f"🗑 Delete log ❌", callback_data=f'close_data')],
- ]
- reply_markup=InlineKeyboardMarkup(btn)
- footer_credit = "🦋• ʀᴇᴘᴏʀᴛ ɪꜱꜱᴜᴇ •══• ᴄᴏɴᴛᴀᴄᴛ ᴍᴀꜱᴛᴇʀ •🦋"
- lazy_response = response.choices[0].text
- await client.send_message(LAZY_AI_LOGS, text=f"⚡️⚡️#Lazy_AI_Query \n\n• A user named **{message.from_user.mention}** with user id - `{user_id}`. Asked me this query...\n\n══❚█══Q U E R Y══█❚══\n\n\n[Q྿.]**{lazy_users_message}**\n\n👇Here is what i responded:\n:-`{lazy_response}`\n\n\n❚═USER ID═❚═• `{user_id}` \n❚═USER Name═❚═• `{message.from_user.mention}` \n\n🗃️" , reply_markup = reply_markup )
- await message.reply(f"{lazy_response}\n\n\n{footer_credit}")
- except Exception as error:
- print(error)
- await message.reply_text(f'Error aa gya Lazy Bhaiya 😀\n\n{error}')
- else:
- return
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- # i am NOT INTRESTED IN BEING YOUR SECOND FATHER... SO DON'T REMOVE MY CREDIT...
- # @LazyDeveloperr
-
-
-
-
-
-
-
-
-
-
-
- # ...PRESENTING...
- # A R T I F i C I A L - I N T E L i G E N C E
- # .in Auto-Filter-Bot.
- # @LazyDeveloperr
-
-
-
-
-
-
-
-
-
-
-
-
- # this line is for copy-pasters...
- # ...while you are removing my credit and calling yourself a developerr...
- # _____ just imagine, At that time i am fucking your mom and sis at same time, harder & too harder...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-#
-# i am NOT INTRESTED IN BEING YOUR SECOND FATHER... SO DON'T REMOVE MY CREDIT...
-# @LazyDeveloperr
-#
-#
-#
-#
-#
-#
-#
-#
-#
-#
-#
-# ...PRESENTING...
-# A R T I F i C I A L - I N T E L i G E N C E
-# .in Auto-Filter-Bot.
-# @LazyDeveloperr
-#
-#
-#
-#
-#
-#
-#
-#
-#
-#
-#
-#
-# this line is for copy-pasters...
-# ...while you are removing my credit and calling yourself a developerr...
-# _____ just imagine, At that time i am fucking your mom and sis at same time, harder & too harder...
-#
From 6daa0fc2701278a03d57505b5e0d03e5ef79e78c Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 23 Jun 2023 23:48:41 +0530
Subject: [PATCH 107/137] Update info.py
---
info.py | 4 ----
1 file changed, 4 deletions(-)
diff --git a/info.py b/info.py
index 6a55b264..9230656a 100644
--- a/info.py
+++ b/info.py
@@ -64,10 +64,6 @@ def is_enabled(value, default):
LAZY_RENAMERS = (lazy_renamers + ADMINS) if lazy_renamers else []
REQ_CHANNEL = int(environ.get('REQ_CHANNEL',"-1001903921399"))
-#ai
-AI = is_enabled((environ.get("AI","False")), False)
-OPENAI_API = environ.get("OPENAI_API","")
-LAZY_AI_LOGS = int(environ.get("LAZY_AI_LOGS","-1001816312047")) #GIVE YOUR NEW LOG CHANNEL ID TO STORE MESSAGES THAT THEY SEARCH IN BOT PM.... [ i have added this to keep an eye on the users message, to avoid misuse of LazyPrincess ]
# Requested Content template variables ---
ADMIN_USRNM = environ.get('ADMIN_USRNM','real_heros') # WITHOUT @
MAIN_CHANNEL_USRNM = environ.get('MAIN_CHANNEL_USRNM','Channel_UserName') # WITHOUT @
From 77f79828353f746f1325d453fc14780e606226bf Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 23 Jun 2023 23:50:27 +0530
Subject: [PATCH 108/137] Update README.md
---
README.md | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 8d2e360e..356dfd25 100644
--- a/README.md
+++ b/README.md
@@ -7,8 +7,7 @@
## ⚡️Features
-- [x] 🔥 New feature :
- - [+] ⚡️ Added `Artificial Inteligence` feature and many more feature ⚡️
+- [x] 🔥 New features
- [+] ⚡️ Added `file renaming` feature ⚡️
- super premium repo...
- [+] ⚡️ Support 2GB + Files ⚡️
From f53367512b3574f3973f8cf0028aef2834fea4cd Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Fri, 23 Jun 2023 23:53:38 +0530
Subject: [PATCH 109/137] Update requirements.txt
---
requirements.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/requirements.txt b/requirements.txt
index cf57a863..c651eb95 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -15,4 +15,3 @@ humanize
aiofiles
dnspython
pynewtonmath
-openai
\ No newline at end of file
From a976504de469352447ae63c61217393da3e55597 Mon Sep 17 00:00:00 2001
From: Vikramved <121682766+Vikramved@users.noreply.github.com>
Date: Sat, 24 Jun 2023 00:07:49 +0530
Subject: [PATCH 110/137] Update lazy_ffmpeg.py
From fe95462406480f52e8a1614a53077ca5280e58a0 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Tue, 27 Jun 2023 12:51:38 +0530
Subject: [PATCH 111/137] Update pm_filter.py
---
plugins/pm_filter.py | 186 +------------------------------------------
1 file changed, 4 insertions(+), 182 deletions(-)
diff --git a/plugins/pm_filter.py b/plugins/pm_filter.py
index 9eb46e99..eb07ce06 100644
--- a/plugins/pm_filter.py
+++ b/plugins/pm_filter.py
@@ -44,106 +44,7 @@ async def give_filter(client, message):
k = await manual_filters(client, message)
if k == False:
await auto_filter(client, message)
-
-@Client.on_callback_query(filters.regex('rename'))
-async def rename(bot,update):
- user_id = update.message.chat.id
- date = update.message.date
- await update.message.delete()
- await update.message.reply_text("»»——— 𝙋𝙡𝙚𝙖𝙨𝙚 𝙚𝙣𝙩𝙚𝙧 𝙣𝙚𝙬 𝙛𝙞𝙡𝙚 𝙣𝙖𝙢𝙚...",
- reply_to_message_id=update.message.reply_to_message.id,
- reply_markup=ForceReply(True))
-# Born to make history @LazyDeveloper !
-@Client.on_callback_query(filters.regex("upload"))
-async def doc(bot, update):
- type = update.data.split("_")[1]
- new_name = update.message.text
- new_filename = new_name.split(":-")[1]
- file = update.message.reply_to_message
- file_path = f"downloads/{new_filename}"
- ms = await update.message.edit("\n༻☬ད 𝘽𝙪𝙞𝙡𝙙𝙞𝙣𝙜 𝙇𝙖𝙯𝙮 𝙈𝙚𝙩𝙖𝘿𝙖𝙩𝙖...")
- c_time = time.time()
- try:
- path = await bot.download_media(
- message=file,
- progress=progress_for_pyrogram,
- progress_args=("**\n ღ♡ ꜰɪʟᴇ ᴜɴᴅᴇʀ ᴄᴏɴꜱᴛʀᴜᴄᴛɪᴏɴ... ♡♪**", ms, c_time))
- except Exception as e:
- await ms.edit(e)
- return
- splitpath = path.split("/downloads/")
- dow_file_name = splitpath[1]
- old_file_name =f"downloads/{dow_file_name}"
- os.rename(old_file_name, file_path)
- duration = 0
- try:
- metadata = extractMetadata(createParser(file_path))
- if metadata.has("duration"):
- duration = metadata.get('duration').seconds
- except:
- pass
- user_id = int(update.message.chat.id)
- ph_path = None
- media = getattr(file, file.media.value)
- filesize = humanize.naturalsize(media.file_size)
- c_caption = await db.get_caption(update.message.chat.id)
- c_thumb = await db.get_thumbnail(update.message.chat.id)
- if c_caption:
- try:
- caption = c_caption.format(filename=new_filename, filesize=humanize.naturalsize(media.file_size), duration=convert(duration))
- except Exception as e:
- await ms.edit(text=f"Your caption Error unexpected keyword ●> ({e})")
- return
- else:
- caption = f"**{new_filename}** \n\n⚡️Data costs: `{filesize}`"
- if (media.thumbs or c_thumb):
- if c_thumb:
- ph_path = await bot.download_media(c_thumb)
- else:
- ph_path = await bot.download_media(media.thumbs[0].file_id)
- Image.open(ph_path).convert("RGB").save(ph_path)
- img = Image.open(ph_path)
- img.resize((320, 320))
- img.save(ph_path, "JPEG")
- await ms.edit("三 𝘗𝘳𝘦𝘱𝘢𝘳𝘪𝘯𝘨 𝘵𝘰 𝘳𝘦𝘤𝘦𝘪𝘷𝘦 𝘓𝘢𝘻𝘺 𝘧𝘪𝘭𝘦...︻デ═一")
- c_time = time.time()
- try:
- if type == "document":
- await bot.send_document(
- update.message.chat.id,
- document=file_path,
- thumb=ph_path,
- caption=caption,
- progress=progress_for_pyrogram,
- progress_args=( "**⎝⎝✧ ʀᴇᴄɪᴇᴠɪɴɢ ꜰɪʟᴇ ꜰʀᴏᴍ ʟᴀᴢʏ ꜱᴇʀᴠᴇʀ ✧⎠⎠**", ms, c_time))
- elif type == "video":
- await bot.send_video(
- update.message.chat.id,
- video=file_path,
- caption=caption,
- thumb=ph_path,
- duration=duration,
- progress=progress_for_pyrogram,
- progress_args=( "**⎝⎝✧ ʀᴇᴄɪᴇᴠɪɴɢ ꜰɪʟᴇ ꜰʀᴏᴍ ʟᴀᴢʏ ꜱᴇʀᴠᴇʀ ✧⎠⎠**", ms, c_time))
- elif type == "audio":
- await bot.send_audio(
- update.message.chat.id,
- audio=file_path,
- caption=caption,
- thumb=ph_path,
- duration=duration,
- progress=progress_for_pyrogram,
- progress_args=( "**⎝⎝✧ ʀᴇᴄɪᴇᴠɪɴɢ ꜰɪʟᴇ ꜰʀᴏᴍ ʟᴀᴢʏ ꜱᴇʀᴠᴇʀ ✧⎠⎠**", ms, c_time ))
- except Exception as e:
- await ms.edit(f" Erro {e}")
- os.remove(file_path)
- if ph_path:
- os.remove(ph_path)
- return
- await ms.delete()
- os.remove(file_path)
- if ph_path:
- os.remove(ph_path)
+
# # Born to make history @LazyDeveloper !
@Client.on_callback_query(filters.regex(r"^next"))
@@ -886,42 +787,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
reply_markup=reply_markup,
parse_mode=enums.ParseMode.HTML
)
- # elif query.data == "getlazythumbnail":
- # buttons = [
- # [
- # InlineKeyboardButton("D͢o͢n͢a͢t͢e͢ L͢a͢z͢y͢D͢e͢v͢", callback_data="thdonatelazydev"),
- # ],
- # [ InlineKeyboardButton("<- G̳O̳ ̳B̳A̳C̳K̳ ⨳", callback_data="lazyhome") ]
- # ]
- # reply_markup = InlineKeyboardMarkup(buttons)
- # await query.message.edit_text(
- # text=script.LZTHMB_TEXT.format(query.from_user.mention),
- # reply_markup=reply_markup,
- # parse_mode=enums.ParseMode.HTML
- # )
- # elif query.data == "thdonatelazydev":
- # buttons = [
- # [ InlineKeyboardButton("<- G̳O̳ ̳B̳A̳C̳K̳ ⨳", callback_data="getlazythumbnail") ]
- # ]
- # reply_markup = InlineKeyboardMarkup(buttons)
- # await query.message.edit_text(
- # text=script.DNT_TEXT.format(query.from_user.mention),
- # reply_markup=reply_markup,
- # parse_mode=enums.ParseMode.HTML
- # )
- # elif query.data == "getlazylink":
- # buttons = [
- # [
- # InlineKeyboardButton("D͢o͢n͢a͢t͢e͢ L͢a͢z͢y͢D͢e͢v͢", callback_data="linkdonatelazydev"),
- # ],
- # [ InlineKeyboardButton("<- G̳O̳ ̳B̳A̳C̳K̳ ⨳", callback_data="lazyhome") ]
- # ]
- # reply_markup = InlineKeyboardMarkup(buttons)
- # await query.message.edit_text(
- # text=script.LZLINK_TEXT.format(query.from_user.mention),
- # reply_markup=reply_markup,
- # parse_mode=enums.ParseMode.HTML
- # )
+
elif query.data == "donatelazydev":
buttons = [
[ InlineKeyboardButton("ᴄʟᴏꜱᴇ", callback_data="close_data") ]
@@ -932,16 +798,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
reply_markup=reply_markup,
parse_mode=enums.ParseMode.HTML
)
- elif query.data == "lazyhome":
- text = f"""\n⨳ *•.¸♡ L҉ΛZ𝐲 MⓄd𝓔 ♡¸.•* ⨳\n\n**Please tell, what should i do with this file.?**\n"""
- buttons = [[ InlineKeyboardButton("ʀᴇɴᴀᴍᴇ", callback_data="rename") ],
- [ InlineKeyboardButton("ᴄʟᴏꜱᴇ", callback_data="cancel") ]]
- reply_markup = InlineKeyboardMarkup(buttons)
- await query.message.edit_text(
- text=text,
- reply_markup=reply_markup,
- parse_mode=enums.ParseMode.HTML
- )
+
elif query.data == "requireauth":
buttons = [
[ InlineKeyboardButton("ᴄʟᴏꜱᴇ", callback_data="cancel") ]]
@@ -951,42 +808,7 @@ async def cb_handler(client: Client, query: CallbackQuery):
reply_markup=reply_markup,
parse_mode=enums.ParseMode.HTML
)
- # elif query.data == "reqauthgetlazythumbnail":
- # buttons = [
- # [
- # InlineKeyboardButton("D͢o͢n͢a͢t͢e͢ L͢a͢z͢y͢D͢e͢v͢", callback_data="thdonatelazydev"),
- # ],
- # [ InlineKeyboardButton("<- G̳O̳ ̳B̳A̳C̳K̳ ⨳", callback_data="reqauthlazyhome") ]
- # ]
- # reply_markup = InlineKeyboardMarkup(buttons)
- # await query.message.edit_text(
- # text=script.LZTHMB_TEXT.format(query.from_user.mention),
- # reply_markup=reply_markup,
- # parse_mode=enums.ParseMode.HTML
- # )
- # elif query.data == "reqauthlazyhome":
- # text = f"""\n⨳ *•.¸♡ L҉ΛZ𝐲 MⓄd𝓔 ♡¸.•* ⨳\n\n**Please tell, what should i do with this file.?**\n"""
- # buttons = [[ InlineKeyboardButton("ʀᴇɴᴀᴍᴇ", callback_data="requireauth") ],
- # [ InlineKeyboardButton("ᴄʟᴏꜱᴇ", callback_data="cancel") ]]
- # reply_markup = InlineKeyboardMarkup(buttons)
- # await query.message.edit_text(
- # text=text,
- # reply_markup=reply_markup,
- # parse_mode=enums.ParseMode.HTML
- # )
- # elif query.data == "reqauthgetlazylink":
- # buttons = [
- # [
- # InlineKeyboardButton("D͢o͢n͢a͢t͢e͢ L͢a͢z͢y͢D͢e͢v͢", callback_data="linkdonatelazydev"),
- # ],
- # [ InlineKeyboardButton("<- G̳O̳ ̳B̳A̳C̳K̳ ⨳", callback_data="reqauthlazyhome") ]
- # ]
- # reply_markup = InlineKeyboardMarkup(buttons)
- # await query.message.edit_text(
- # text=script.LZLINK_TEXT.format(query.from_user.mention),
- # reply_markup=reply_markup,
- # parse_mode=enums.ParseMode.HTML
- # )
+
elif query.data == "exit":
await query.answer("Sorry Darling! You can't make any changes...\n\nOnly my Admin can change this setting...", show_alert = True)
return
From bb62248d413ea915f1a37d0fba222bcb19f49431 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Tue, 27 Jun 2023 12:53:00 +0530
Subject: [PATCH 112/137] Delete rlazyRenamer.py
---
plugins/rlazyRenamer.py | 81 -----------------------------------------
1 file changed, 81 deletions(-)
delete mode 100644 plugins/rlazyRenamer.py
diff --git a/plugins/rlazyRenamer.py b/plugins/rlazyRenamer.py
deleted file mode 100644
index 55161e08..00000000
--- a/plugins/rlazyRenamer.py
+++ /dev/null
@@ -1,81 +0,0 @@
-"""
-Apache License 2.0
-Copyright (c) 2023 @LazyDeveloper
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-Dev Channel Link : https://t.me/LazyDeveloper
-Repo Link : https://github.com/LazyDeveloperr/LazyPrincess
-License Link : https://github.com/LazyDeveloperr/LazyPrincess/blob/main/LICENSE
-# Removing this is strictly prohibited ! Don't remove this all without the
-permission of LazyDeveloperr
-"""
- # Credit @LazyDeveloper.
- # Please Don't remove credit.
- # Born to make history @LazyDeveloper !
-
- # Thank you LazyDeveloper for helping us in this Journey
-
-from asyncio import sleep
-from pyrogram import Client, filters
-from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup
-from pyrogram.errors import FloodWait
-import humanize
-from info import ADMINS , FLOOD, LAZY_MODE, LAZY_RENAMERS
-import random
-
-
-# Born to make history @LazyDeveloper !
-
-@Client.on_message( filters.private & (filters.document | filters.audio | filters.video))
-async def rename_start(client, message):
- if (LAZY_MODE==True):
- if message.from_user.id in ADMINS :
- file = getattr(message, message.media.value)
- filesize = humanize.naturalsize(file.file_size)
- filename = file.file_name
- text = f"""\n⨳ *•.¸♡ L҉ΛZ𝐲 MⓄd𝓔 ♡¸.•* ⨳\n\n**Please tell, what should i do with this file.?**\n\n**🎞File Name** :- `{filename}`\n\n⚙️**File Size** :- `{filesize}`"""
- buttons = [[ InlineKeyboardButton("📝✧✧ S𝚝ar𝚝 re𝚗aᗰi𝚗g ✧✧📝", callback_data="rename") ],
- [ InlineKeyboardButton("⨳ C L Ф S Ξ ⨳", callback_data="cancel") ]]
- await message.reply_text(text=text, reply_to_message_id=message.id, reply_markup=InlineKeyboardMarkup(buttons))
-
- elif message.from_user.id in LAZY_RENAMERS :
- file = getattr(message, message.media.value)
- filesize = humanize.naturalsize(file.file_size)
- filename = file.file_name
- try:
- text = f"""\n⨳ *•.¸♡ L҉ΛZ𝐲 MⓄd𝓔 ♡¸.•* ⨳\n\n**Please tell, what should i do with this file.?**\n\n**🎞File Name** :- `{filename}`\n\n⚙️**File Size** :- `{filesize}`"""
- buttons = [[ InlineKeyboardButton("📝✧✧ S𝚝ar𝚝 re𝚗aᗰi𝚗g ✧✧📝", callback_data="rename") ],
- [ InlineKeyboardButton("⨳ C L Ф S Ξ ⨳", callback_data="cancel") ]]
- await message.reply_text(text=text, reply_to_message_id=message.id, reply_markup=InlineKeyboardMarkup(buttons))
- await sleep(FLOOD)
- except FloodWait as e:
- await sleep(e.value)
- text = f"""\n⨳ *•.¸♡ L҉ΛZ𝐲 MⓄd𝓔 ♡¸.•* ⨳\n\n**Please tell, what should i do with this file.?**\n\n**🎞File Name** :- `{filename}`\n\n⚙️**File Size** :- `{filesize}`"""
- buttons = [[ InlineKeyboardButton("📝✧✧ S𝚝ar𝚝 re𝚗aᗰi𝚗g ✧✧📝", callback_data="rename") ],
- [ InlineKeyboardButton("⨳ C L Ф S Ξ ⨳", callback_data="cancel") ]]
- await message.reply_text(text=text, reply_to_message_id=message.id, reply_markup=InlineKeyboardMarkup(buttons))
- except:
- pass
- else:
- file = getattr(message, message.media.value)
- filesize = humanize.naturalsize(file.file_size)
- filename = file.file_name
- text = f"""\n⨳ *•.¸♡ L҉ΛZ𝐲 MⓄd𝓔 ♡¸.•* ⨳\n\n**Please tell, what should i do with this file.?**\n\n**🎞File Name** :- `{filename}`\n\n⚙️**File Size** :- `{filesize}`"""
- buttons = [[ InlineKeyboardButton("📝✧✧ S𝚝ar𝚝 re𝚗aᗰi𝚗g ✧✧📝", callback_data="requireauth") ],
- [ InlineKeyboardButton("⨳ C L Ф S Ξ ⨳", callback_data="cancel") ]]
- await message.reply_text(text=text, reply_to_message_id=message.id, reply_markup=InlineKeyboardMarkup(buttons))
- else:
- return
\ No newline at end of file
From c3419ff59eeda5b90ac6cf270f2c003a92fb8cfd Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Tue, 27 Jun 2023 12:53:16 +0530
Subject: [PATCH 113/137] Delete rlazy_cpption.py
---
plugins/rlazy_cpption.py | 32 --------------------------------
1 file changed, 32 deletions(-)
delete mode 100644 plugins/rlazy_cpption.py
diff --git a/plugins/rlazy_cpption.py b/plugins/rlazy_cpption.py
deleted file mode 100644
index 96be348d..00000000
--- a/plugins/rlazy_cpption.py
+++ /dev/null
@@ -1,32 +0,0 @@
- # Credit @LazyDeveloper.
- # Please Don't remove credit.
- # Born to make history @LazyDeveloper !
-
- # Thank you LazyDeveloper for helping us in this Journey
-from pyrogram import Client, filters
-from database.users_chats_db import db
-
-@Client.on_message(filters.private & filters.command('set_caption'))
-async def add_caption(client, message):
- if len(message.command) == 1:
- return await message.reply_text("**Note: Lazy_Mode active ✅\n\n__𝙶𝚒𝚟𝚎 𝚖𝚎 𝚊 𝚌𝚊𝚙𝚝𝚒𝚘𝚗 𝚝𝚘 𝚜𝚎𝚝.__\n\n𝙴𝚡𝚊𝚖𝚙𝚕𝚎:- `/set_caption {filename}\n\n💾 Size: {filesize}\n\n⏰ Duration: {duration}`**")
- caption = message.text.split(" ", 1)[1]
- await db.set_caption(message.from_user.id, caption=caption)
- await message.reply_text("__** 𝚈𝙾𝚄𝚁 𝙲𝙰𝙿𝚃𝙸𝙾𝙽 𝚂𝙰𝚅𝙴𝙳 𝚂𝚄𝙲𝙲𝙴𝚂𝚂𝙵𝚄𝙻𝙻𝚈 ✅**__")
-
-
-@Client.on_message(filters.private & filters.command('del_caption'))
-async def delete_caption(client, message):
- caption = await db.get_caption(message.from_user.id)
- if not caption:
- return await message.reply_text("Note: Lazy_Mode active ✅\n\n😔**Sorry sweetheart ! No Caption found...**😔")
- await db.set_caption(message.from_user.id, caption=None)
- await message.reply_text("**** Your Caption deleted successfully**✅️")
-
-@Client.on_message(filters.private & filters.command('see_caption'))
-async def see_caption(client, message):
- caption = await db.get_caption(message.from_user.id)
- if caption:
- await message.reply_text(f"**Note: Lazy_Mode active ✅\n\nYour Caption:-**\n\n`{caption}`")
- else:
- await message.reply_text("😔**Sorry ! No Caption found...**😔")
From 840b262fb6e9258ef668dff571a8f7a096deb847 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Tue, 27 Jun 2023 12:53:32 +0530
Subject: [PATCH 114/137] Delete rlazy_filedetect.py
---
plugins/rlazy_filedetect.py | 63 -------------------------------------
1 file changed, 63 deletions(-)
delete mode 100644 plugins/rlazy_filedetect.py
diff --git a/plugins/rlazy_filedetect.py b/plugins/rlazy_filedetect.py
deleted file mode 100644
index 3fc366d1..00000000
--- a/plugins/rlazy_filedetect.py
+++ /dev/null
@@ -1,63 +0,0 @@
- # Credit @LazyDeveloper.
- # Please Don't remove credit.
- # Born to make history @LazyDeveloper !
-
- # Thank you LazyDeveloper for helping us in this Journey
-from pyrogram import Client, filters
-from pyrogram.enums import MessageMediaType
-from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup, ForceReply
-
-
-@Client.on_message(filters.private & filters.reply)
-async def refunc(client, message):
- if (message.reply_to_message.reply_markup) and isinstance(message.reply_to_message.reply_markup, ForceReply):
- new_name = message.text
- await message.delete()
- await message.delete()
- media = await client.get_messages(message.chat.id, message.reply_to_message.id)
- file = media.reply_to_message.document or media.reply_to_message.video or media.reply_to_message.audio
- filename = file.file_name
- types = file.mime_type.split("/")
- mime = types[0]
- mg_id = media.reply_to_message.id
- try:
- out = new_name.split(".")
- out[1]
- out_name = out[-1]
- out_filename = new_name
- await message.reply_to_message.delete()
- if mime == "video":
- markup = InlineKeyboardMarkup([[
- InlineKeyboardButton("📁 Document", callback_data="upload_document"),
- InlineKeyboardButton("🎥 Video", callback_data="upload_video")]])
- elif mime == "audio":
- markup = InlineKeyboardMarkup([[InlineKeyboardButton(
- "📁 Document", callback_data="doc"), InlineKeyboardButton("🎵 audio", callback_data="upload_audio")]])
- else:
- markup = InlineKeyboardMarkup(
- [[InlineKeyboardButton("📁 Document", callback_data="upload_document")]])
- # Lazy-WarninG -> Please Dont chnage anything after this Line
- await message.reply_text(f"**Select the output file type**\n**🎞New Name** :- ```{out_filename}```", reply_to_message_id=mg_id, reply_markup=markup)
-
- except:
- try:
- out = filename.split(".")
- out_name = out[-1]
- out_filename = new_name + "." + out_name
- except:
- await message.reply_to_message.delete()
- await message.reply_text("**Error** : No Extension in File, Not Supporting", reply_to_message_id=mg_id)
- return
- await message.reply_to_message.delete()
- if mime == "video":
- markup = InlineKeyboardMarkup([[InlineKeyboardButton(
- "📁 Document", callback_data="upload_document"), InlineKeyboardButton("🎥 Video", callback_data="upload_video")]])
- elif mime == "audio":
- markup = InlineKeyboardMarkup([[InlineKeyboardButton(
- "📁 Document", callback_data="upload_document"), InlineKeyboardButton("🎵 audio", callback_data="upload_audio")]])
- else:
- markup = InlineKeyboardMarkup(
- [[InlineKeyboardButton("📁 Document", callback_data="upload_document")]])
- # Lazy-WarninG -> Please Dont chnage anything after this Line
- await message.reply_text(f"**Select the output file type**\n**🎞New Name** :- ```{out_filename}```",
- reply_to_message_id=mg_id, reply_markup=markup)
\ No newline at end of file
From 3148dd9046c36bc910260ee7ea3b3d94a6aba747 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Tue, 27 Jun 2023 12:53:45 +0530
Subject: [PATCH 115/137] Delete rlazy_thumbnail.py
---
plugins/rlazy_thumbnail.py | 30 ------------------------------
1 file changed, 30 deletions(-)
delete mode 100644 plugins/rlazy_thumbnail.py
diff --git a/plugins/rlazy_thumbnail.py b/plugins/rlazy_thumbnail.py
deleted file mode 100644
index 7bea9977..00000000
--- a/plugins/rlazy_thumbnail.py
+++ /dev/null
@@ -1,30 +0,0 @@
- # Credit @LazyDeveloper.
- # Please Don't remove credit.
- # Born to make history @LazyDeveloper !
-
- # Thank you LazyDeveloper for helping us in this Journey
-
-from pyrogram import Client, filters
-from database.users_chats_db import db
-
-@Client.on_message(filters.private & filters.command(['viewthumb']))
-async def viewthumb(client, message):
- thumb = await db.get_thumbnail(message.from_user.id)
- if thumb:
- await client.send_photo(
- chat_id=message.chat.id,
- photo=thumb)
- else:
- await message.reply_text("😔**Sorry ! No thumbnail found...**😔")
-
-@Client.on_message(filters.private & filters.command(['delthumb']))
-async def removethumb(client, message):
- await db.set_thumbnail(message.from_user.id, file_id=None)
- await message.reply_text("**Thumbnail deleted successfully**✅️")
-
-@Client.on_message(filters.private & filters.photo)
-async def addthumbs(client, message):
- LazyDev = await message.reply_text("Please Wait ...")
- await db.set_thumbnail(message.from_user.id, file_id=message.photo.file_id)
- await LazyDev.edit("**Thumbnail saved successfully**✅️")
-
From b8e29727a82e07324f52aa766046a22fe2d14ee3 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Tue, 27 Jun 2023 12:58:54 +0530
Subject: [PATCH 116/137] Update info.py
---
info.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/info.py b/info.py
index 9230656a..f31d83d7 100644
--- a/info.py
+++ b/info.py
@@ -61,7 +61,6 @@ def is_enabled(value, default):
LAZY_MODE = bool(environ.get("LAZY_MODE","False"))
#Add user id of the user in this field those who you want to be Authentic user for file renaming features
lazy_renamers = [int(lazrenamers) if id_pattern.search(lazrenamers) else lazrenamers for lazrenamers in environ.get('LAZY_RENAMERS', '1653535224').split()]
-LAZY_RENAMERS = (lazy_renamers + ADMINS) if lazy_renamers else []
REQ_CHANNEL = int(environ.get('REQ_CHANNEL',"-1001903921399"))
# Requested Content template variables ---
From 4f013b6421f6c3422e02879eeccbdaf3ce84524e Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Tue, 27 Jun 2023 13:06:01 +0530
Subject: [PATCH 117/137] Delete lazy_utils.py
---
database/lazy_utils.py | 88 ------------------------------------------
1 file changed, 88 deletions(-)
delete mode 100644 database/lazy_utils.py
diff --git a/database/lazy_utils.py b/database/lazy_utils.py
deleted file mode 100644
index 43661773..00000000
--- a/database/lazy_utils.py
+++ /dev/null
@@ -1,88 +0,0 @@
- # Credit @LazyDeveloper.
- # Please Don't remove credit.
- # Born to make history @LazyDeveloper !
-
- # Thank you LazyDeveloper for helping us in this Journey
-
-import math
-import time
-from Script import script
-from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup
-from pyrogram import enums
-
-async def progress_for_pyrogram(current, total, ud_type, message, start):
-
- now = time.time()
- diff = now - start
- if round(diff % 10.00) == 0 or current == total:
- # if round(current / total * 100, 0) % 5 == 0:
- percentage = current * 100 / total
- speed = current / diff
- elapsed_time = round(diff) * 1000
- time_to_completion = round((total - current) / speed) * 1000
- estimated_total_time = elapsed_time + time_to_completion
-
- elapsed_time = TimeFormatter(milliseconds=elapsed_time)
- estimated_total_time = TimeFormatter(milliseconds=estimated_total_time)
-
- progress = "{0}{1}".format(
- ''.join(["█" for i in range(math.floor(percentage / 5))]),
- ''.join(["░" for i in range(20 - math.floor(percentage / 5))]))
-
- tmp = progress + script.PROGRESS_BAR.format(
- round(percentage, 2),
- humanbytes(current),
- humanbytes(total),
- humanbytes(speed),
- # elapsed_time if elapsed_time != '' else "0 s",
- estimated_total_time if estimated_total_time != '' else "0 s"
- )
- try:
- await message.edit(
- text="{}\n\n{}".format(ud_type, tmp),
- reply_markup=InlineKeyboardMarkup( [[
- InlineKeyboardButton("⨳ C L Ф S Ξ ⨳", callback_data="cancel")
- ]]
- )
- )
- except:
- pass
-
-def humanbytes(size):
- # https://stackoverflow.com/a/49361727/4723940
- # 2**10 = 1024
- if not size:
- return ""
- power = 2**10
- n = 0
- Dic_powerN = {0: ' ', 1: 'K', 2: 'M', 3: 'G', 4: 'T'}
- while size > power:
- size /= power
- n += 1
- return str(round(size, 2)) + " " + Dic_powerN[n] + 'B'
-
-def TimeFormatter(milliseconds: int) -> str:
- seconds, milliseconds = divmod(int(milliseconds), 1000)
- minutes, seconds = divmod(seconds, 60)
- hours, minutes = divmod(minutes, 60)
- days, hours = divmod(hours, 24)
- tmp = ((str(days) + "d, ") if days else "") + \
- ((str(hours) + "h, ") if hours else "") + \
- ((str(minutes) + "m, ") if minutes else "") + \
- ((str(seconds) + "s, ") if seconds else "") + \
- ((str(milliseconds) + "ms, ") if milliseconds else "")
- return tmp[:-2]
-
-def convert(seconds):
- seconds = seconds % (24 * 3600)
- hour = seconds // 3600
- seconds %= 3600
- minutes = seconds // 60
- seconds %= 60
- return "%d:%02d:%02d" % (hour, minutes, seconds)
-
-
-
-
-
-
From 0539a26a0df1e3d0197841cd08e8f203bc622c73 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Tue, 27 Jun 2023 13:06:18 +0530
Subject: [PATCH 118/137] Delete lazy_set.py
---
database/lazy_set.py | 36 ------------------------------------
1 file changed, 36 deletions(-)
delete mode 100644 database/lazy_set.py
diff --git a/database/lazy_set.py b/database/lazy_set.py
deleted file mode 100644
index 237f1ac2..00000000
--- a/database/lazy_set.py
+++ /dev/null
@@ -1,36 +0,0 @@
-from typing import Dict, List
-def escape_invalid_curly_brackets(text: str, valids: List[str]) -> str:
- new_text = ""
- idx = 0
- while idx < len(text):
- if text[idx] == "{":
- if idx + 1 < len(text) and text[idx + 1] == "{":
- idx += 2
- new_text += "{{{{"
- continue
- else:
- success = False
- for v in valids:
- if text[idx:].startswith('{' + v + '}'):
- success = True
- break
- if success:
- new_text += text[idx: idx + len(v) + 2]
- idx += len(v) + 2
- continue
- else:
- new_text += "{{"
-
- elif text[idx] == "}":
- if idx + 1 < len(text) and text[idx + 1] == "}":
- idx += 2
- new_text += "}}}}"
- continue
- else:
- new_text += "}}"
-
- else:
- new_text += text[idx]
- idx += 1
-
- return new_text
From c3084530dd5b9f4f343bd270dcf0b39db3ae803b Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Tue, 27 Jun 2023 13:06:31 +0530
Subject: [PATCH 119/137] Delete lazy_ffmpeg.py
---
database/lazy_ffmpeg.py | 50 -----------------------------------------
1 file changed, 50 deletions(-)
delete mode 100644 database/lazy_ffmpeg.py
diff --git a/database/lazy_ffmpeg.py b/database/lazy_ffmpeg.py
deleted file mode 100644
index a24af909..00000000
--- a/database/lazy_ffmpeg.py
+++ /dev/null
@@ -1,50 +0,0 @@
-import time
-import os
-import asyncio
-from PIL import Image
-from hachoir.metadata import extractMetadata
-from hachoir.parser import createParser
-
-async def fix_thumb(c_thumb):
- width = 0
- height = 0
- try:
- if c_thumb != None:
- metadata = extractMetadata(createParser(c_thumb))
- if metadata.has("width"):
- width = metadata.get("width")
- if metadata.has("height"):
- height = metadata.get("height")
- Image.open(c_thumb).convert("RGB").save(c_thumb)
- img = Image.open(c_thumb)
- img.resize((320, height))
- img.save(c_thumb, "JPEG")
- except Exception as e:
- print(e)
- c_thumb = None
-
- return width, height, c_thumb
-
-async def take_screen_shot(video_file, output_directory, ttl):
- out_put_file_name = f"{output_directory}/{time.time()}.jpg"
- file_genertor_command = [
- "ffmpeg",
- "-ss",
- str(ttl),
- "-i",
- video_file,
- "-vframes",
- "1",
- out_put_file_name
- ]
- process = await asyncio.create_subprocess_exec(
- *file_genertor_command,
- stdout=asyncio.subprocess.PIPE,
- stderr=asyncio.subprocess.PIPE,
- )
- stdout, stderr = await process.communicate()
- e_response = stderr.decode().strip()
- t_response = stdout.decode().strip()
- if os.path.lexists(out_put_file_name):
- return out_put_file_name
- return None
From 75eba3b0997b87df2105520cf13aac0464225f2a Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Tue, 27 Jun 2023 13:10:40 +0530
Subject: [PATCH 120/137] Update users_chats_db.py
---
database/users_chats_db.py | 58 +++++++++-----------------------------
1 file changed, 14 insertions(+), 44 deletions(-)
diff --git a/database/users_chats_db.py b/database/users_chats_db.py
index a6ead18f..d079f28c 100644
--- a/database/users_chats_db.py
+++ b/database/users_chats_db.py
@@ -1,4 +1,3 @@
-# https://github.com/odysseusmax/animated-lamp/blob/master/bot/database/database.py
import motor.motor_asyncio
from info import DATABASE_NAME, DATABASE_URI, IMDB, IMDB_TEMPLATE, MELCOW_NEW_USERS, P_TTI_SHOW_OFF, SINGLE_BUTTON, SPELL_CHECK_REPLY, PROTECT_CONTENT
@@ -12,10 +11,9 @@ def __init__(self, uri, database_name):
def new_user(self, id, name):
return dict(
- id = id,
- name = name,
+ id=id,
+ name=name,
_id=int(id),
- file_id=None,
caption=None,
ban_status=dict(
is_banned=False,
@@ -25,8 +23,8 @@ def new_user(self, id, name):
def new_group(self, id, title):
return dict(
- id = id,
- title = title,
+ id=id,
+ title=title,
chat_status=dict(
is_disabled=False,
reason="",
@@ -38,7 +36,7 @@ async def add_user(self, id, name):
await self.col.insert_one(user)
async def is_user_exist(self, id):
- user = await self.col.find_one({'id':int(id)})
+ user = await self.col.find_one({'id': int(id)})
return bool(user)
async def total_users_count(self):
@@ -64,19 +62,17 @@ async def get_ban_status(self, id):
is_banned=False,
ban_reason=''
)
- user = await self.col.find_one({'id':int(id)})
+ user = await self.col.find_one({'id': int(id)})
if not user:
return default
return user.get('ban_status', default)
async def get_all_users(self):
return self.col.find({})
-
async def delete_user(self, user_id):
await self.col.delete_many({'id': int(user_id)})
-
async def get_banned(self):
users = self.col.find({'ban_status.is_banned': True})
chats = self.grp.find({'chat_status.is_disabled': True})
@@ -87,22 +83,20 @@ async def get_banned(self):
async def add_chat(self, chat, title):
chat = self.new_group(chat, title)
await self.grp.insert_one(chat)
-
async def get_chat(self, chat):
- chat = await self.grp.find_one({'id':int(chat)})
+ chat = await self.grp.find_one({'id': int(chat)})
return False if not chat else chat.get('chat_status')
-
+
async def re_enable_chat(self, id):
- chat_status=dict(
+ chat_status = dict(
is_disabled=False,
reason="",
- )
+ )
await self.grp.update_one({'id': int(id)}, {'$set': {'chat_status': chat_status}})
async def update_settings(self, id, settings):
await self.grp.update_one({'id': int(id)}, {'$set': {'settings': settings}})
-
async def get_settings(self, id):
default = {
@@ -114,51 +108,27 @@ async def get_settings(self, id):
'welcome': MELCOW_NEW_USERS,
'template': IMDB_TEMPLATE
}
- chat = await self.grp.find_one({'id':int(id)})
+ chat = await self.grp.find_one({'id': int(id)})
if chat:
return chat.get('settings', default)
return default
-
async def disable_chat(self, chat, reason="No Reason"):
- chat_status=dict(
+ chat_status = dict(
is_disabled=True,
reason=reason,
- )
+ )
await self.grp.update_one({'id': int(chat)}, {'$set': {'chat_status': chat_status}})
-
async def total_chat_count(self):
count = await self.grp.count_documents({})
return count
-
async def get_all_chats(self):
return self.grp.find({})
-
-
+
async def get_db_size(self):
return (await self.db.command("dbstats"))['dataSize']
-
- # Credit @LazyDeveloper.
- # Please Don't remove credit.
- # Born to make history @LazyDeveloper ! => Remember this name forever <=
-
- # Thank you LazyDeveloper for helping us in this Journey
-
- async def set_thumbnail(self, id, file_id):
- await self.col.update_one({'id': int(id)}, {'$set': {'file_id': file_id}})
-
- async def get_thumbnail(self, id):
- try:
- thumbnail = await self.col.find_one({'id': int(id)})
- if thumbnail:
- return thumbnail.get('file_id')
- else:
- return None
- except Exception as e:
- print(e)
- # Born to make history @LazyDeveloper ! => Remember this name forever <=
async def set_caption(self, id, caption):
await self.col.update_one({'id': int(id)}, {'$set': {'caption': caption}})
From 10f25f2a207b11acd0927d02a7ffbbd66bba28df Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Mon, 17 Jul 2023 21:40:59 +0530
Subject: [PATCH 121/137] Update info.py
---
info.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/info.py b/info.py
index f31d83d7..c3f2c31a 100644
--- a/info.py
+++ b/info.py
@@ -14,7 +14,7 @@ def is_enabled(value, default):
SESSION = environ.get('SESSION', 'Media_search')
API_ID = int(environ['API_ID','15428219'])
API_HASH = environ['API_HASH','0042e5b26181a1e95ca40a7f7c51eaa7']
-BOT_TOKEN = environ['BOT_TOKEN','5131979265:AAHqw4dBlu2oZ0ib34t5eVY_5-vjKD1Tp-s']
+BOT_TOKEN = environ['BOT_TOKEN','6051467458:AAH498GLzq3by-D22gJrdbNH0FwCFBSi13o']
# Bot settings
CACHE_TIME = int(environ.get('CACHE_TIME', 300))
From 7648ef18b1ae0230825e515b50eda816404dd3d0 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Mon, 17 Jul 2023 21:48:01 +0530
Subject: [PATCH 122/137] Update Dockerfile
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index 5a82830b..6e6839e9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.8-slim-buster
+FROM python:3.10-slim-buster
RUN apt update && apt upgrade -y
RUN apt install git -y
From 365c01b95607f9b4e02e836567b0d362831e1f6a Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Mon, 17 Jul 2023 21:57:24 +0530
Subject: [PATCH 123/137] Update Dockerfile
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index 6e6839e9..5a82830b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.10-slim-buster
+FROM python:3.8-slim-buster
RUN apt update && apt upgrade -y
RUN apt install git -y
From fc366133addc6672f19c0494145e4cf68669e817 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Mon, 17 Jul 2023 21:58:00 +0530
Subject: [PATCH 124/137] Update info.py
---
info.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/info.py b/info.py
index c3f2c31a..ff895334 100644
--- a/info.py
+++ b/info.py
@@ -11,6 +11,7 @@ def is_enabled(value, default):
return default
# Bot information
+PORT = environ.get("PORT", "8080")
SESSION = environ.get('SESSION', 'Media_search')
API_ID = int(environ['API_ID','15428219'])
API_HASH = environ['API_HASH','0042e5b26181a1e95ca40a7f7c51eaa7']
From f0ba86ef576ddd85f213b6ce8fb16af5c40b228c Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Mon, 17 Jul 2023 22:00:53 +0530
Subject: [PATCH 125/137] Update info.py
---
info.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/info.py b/info.py
index ff895334..a6540eed 100644
--- a/info.py
+++ b/info.py
@@ -11,7 +11,7 @@ def is_enabled(value, default):
return default
# Bot information
-PORT = environ.get("PORT", "8080")
+PORT = environ.get("PORT", "3000")
SESSION = environ.get('SESSION', 'Media_search')
API_ID = int(environ['API_ID','15428219'])
API_HASH = environ['API_HASH','0042e5b26181a1e95ca40a7f7c51eaa7']
From 4f6c82d11af755fc594df507a8df26568fb3ac40 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Mon, 17 Jul 2023 22:09:03 +0530
Subject: [PATCH 126/137] Update Dockerfile
---
Dockerfile | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index 5a82830b..039085a3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,12 +1,11 @@
-FROM python:3.8-slim-buster
+FROM python:3.10-slim-buster
-RUN apt update && apt upgrade -y
-RUN apt install git -y
+RUN apt update && apt upgrade -y && apt install git -y
COPY requirements.txt /requirements.txt
-RUN cd /
-RUN pip3 install -U pip && pip3 install -U -r requirements.txt
+RUN pip3 install --upgrade pip && pip3 install -r requirements.txt
RUN mkdir /LazyPrincess
WORKDIR /LazyPrincess
COPY start.sh /start.sh
-CMD ["/bin/bash", "/start.sh"]
+EXPOSE 3000
+CMD ["cyclic.sh", "/start.sh"]
From b6142959a5fe0b6dc4eafb7b1a6711589f215795 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Mon, 17 Jul 2023 22:11:30 +0530
Subject: [PATCH 127/137] Update Dockerfile
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index 039085a3..5186d984 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.10-slim-buster
+FROM python:3.8-slim-buster
RUN apt update && apt upgrade -y && apt install git -y
COPY requirements.txt /requirements.txt
From 9416ddaec4f58b6f2b4ce0e502f28ee65b1ceb67 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Mon, 17 Jul 2023 22:11:54 +0530
Subject: [PATCH 128/137] Update Procfile
---
Procfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Procfile b/Procfile
index d80f8e78..a18caa2c 100644
--- a/Procfile
+++ b/Procfile
@@ -1 +1 @@
-worker: python3 bot.py
+web: python3 bot.py
From 2b9318701cf297870ae132d51ba5cbb9c6b45906 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Mon, 17 Jul 2023 22:16:26 +0530
Subject: [PATCH 129/137] Update info.py
---
info.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/info.py b/info.py
index a6540eed..c3f2c31a 100644
--- a/info.py
+++ b/info.py
@@ -11,7 +11,6 @@ def is_enabled(value, default):
return default
# Bot information
-PORT = environ.get("PORT", "3000")
SESSION = environ.get('SESSION', 'Media_search')
API_ID = int(environ['API_ID','15428219'])
API_HASH = environ['API_HASH','0042e5b26181a1e95ca40a7f7c51eaa7']
From 99aafd66996e19c1faaf7134d33bd777271c6a0c Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Mon, 17 Jul 2023 22:16:57 +0530
Subject: [PATCH 130/137] Update Dockerfile
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index 5186d984..7db5108e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,5 +7,5 @@ RUN pip3 install --upgrade pip && pip3 install -r requirements.txt
RUN mkdir /LazyPrincess
WORKDIR /LazyPrincess
COPY start.sh /start.sh
-EXPOSE 3000
+EXPOSE 8080
CMD ["cyclic.sh", "/start.sh"]
From 006b1cd36a4e7dfa212101350fdde2f13037224d Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Mon, 17 Jul 2023 22:18:47 +0530
Subject: [PATCH 131/137] Update Dockerfile
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index 7db5108e..5186d984 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,5 +7,5 @@ RUN pip3 install --upgrade pip && pip3 install -r requirements.txt
RUN mkdir /LazyPrincess
WORKDIR /LazyPrincess
COPY start.sh /start.sh
-EXPOSE 8080
+EXPOSE 3000
CMD ["cyclic.sh", "/start.sh"]
From bca3a2d2fe2a1e37e998e2103d2490e630d3eaeb Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Mon, 17 Jul 2023 22:19:18 +0530
Subject: [PATCH 132/137] Update bot.py
---
bot.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bot.py b/bot.py
index 8b146b75..2e63005b 100644
--- a/bot.py
+++ b/bot.py
@@ -18,7 +18,7 @@
from aiohttp import web
from plugins import web_server
-PORT = "8080"
+PORT = "3000"
class Bot(Client):
From 711600b8359c12b30ed47b5aa245c2f734a9b91f Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Fri, 28 Jul 2023 22:19:50 +0530
Subject: [PATCH 133/137] Update bot.py
---
bot.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bot.py b/bot.py
index 2e63005b..f3fae6d5 100644
--- a/bot.py
+++ b/bot.py
@@ -18,7 +18,7 @@
from aiohttp import web
from plugins import web_server
-PORT = "3000"
+PORT = "800"
class Bot(Client):
From 2a4c89304402c8a270458e499b63880b84539773 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Fri, 28 Jul 2023 22:20:16 +0530
Subject: [PATCH 134/137] Update Dockerfile
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index 5186d984..b845ffe2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,5 +7,5 @@ RUN pip3 install --upgrade pip && pip3 install -r requirements.txt
RUN mkdir /LazyPrincess
WORKDIR /LazyPrincess
COPY start.sh /start.sh
-EXPOSE 3000
+EXPOSE 800
CMD ["cyclic.sh", "/start.sh"]
From 7e11324aaf1fa1894044de3e6f1916d275b3907b Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Fri, 28 Jul 2023 22:26:30 +0530
Subject: [PATCH 135/137] Update Dockerfile
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index b845ffe2..ced78abc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.8-slim-buster
+FROM python:3.10-slim-buster
RUN apt update && apt upgrade -y && apt install git -y
COPY requirements.txt /requirements.txt
From 12c68c89b8eb03b79bc506f535e9cb88a3f924e8 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Fri, 28 Jul 2023 22:32:20 +0530
Subject: [PATCH 136/137] Update Dockerfile
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index ced78abc..039085a3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,5 +7,5 @@ RUN pip3 install --upgrade pip && pip3 install -r requirements.txt
RUN mkdir /LazyPrincess
WORKDIR /LazyPrincess
COPY start.sh /start.sh
-EXPOSE 800
+EXPOSE 3000
CMD ["cyclic.sh", "/start.sh"]
From bba03e7751d31604051882b6c1f02d875a2cb7e6 Mon Sep 17 00:00:00 2001
From: Shahid <99473783+gtbentg@users.noreply.github.com>
Date: Fri, 28 Jul 2023 22:33:26 +0530
Subject: [PATCH 137/137] Update bot.py
---
bot.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bot.py b/bot.py
index f3fae6d5..2e63005b 100644
--- a/bot.py
+++ b/bot.py
@@ -18,7 +18,7 @@
from aiohttp import web
from plugins import web_server
-PORT = "800"
+PORT = "3000"
class Bot(Client):