Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Script.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@ class script(object):
START_TXT = """Hello {},
Myself <a href=https://t.me/{}>{}</a>,\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...🤪"""
LZTHMB_TEXT = """Hello {},
Glad to see you here. It seems that you really love <a href=https://t.me/LazyDeveloperr >LazyDeveloper's</a> work.\n\n<b>Thumbnail extracting</b> feature will be available soon, please join <a href=https://t.me/LazyDeveloper>Dev Channel</a> and stay tuned for next <a href=https://t.me/LazyDeveloper>update</a>.\n\n 🐞 Report Bug here: <a href=http://t.me/LazyDeveloperSupport>LazyDev Support</a>
Glad to see you here. It seems that you really love <a href=https://t.me/AgsModsOG >AgsModsOGeloper's</a> work.\n\n<b>Thumbnail extracting</b> feature will be available soon, please join <a href=https://t.me/AgsModsOG>Dev Channel</a> and stay tuned for next <a href=https://t.me/AgsModsOG>update</a>.\n\n 🐞 Report Bug here: <a href=https://t.me/Movies_Hub_Og>LazyDev Support</a>
"""
LZLINK_TEXT = """Hey {},
Glad to see you here. It seems that you really love <a href=https://t.me/LazyDeveloperr >LazyDeveloper's</a> work.\n\n<b>File to LiNK converting</b> feature will be available soon, please join <a href=https://t.me/LazyDeveloper>Dev Channel</a> and stay tuned for next <a href=https://t.me/LazyDeveloper>update</a>.\n\n 🐞 Report Bug here: <a href=http://t.me/LazyDeveloperSupport>LazyDev Support</a>
Glad to see you here. It seems that you really love <a href=https://t.me/AgsModsOG >AgsModsOG's</a> work.\n\n<b>File to LiNK converting</b> feature will be available soon, please join <a href=https://t.me/AgsModsOG>Dev Channel</a> and stay tuned for next <a href=https://t.me/AgsModsOG>update</a>.\n\n 🐞 Report Bug here: <a href=https://t.me/Movies_Hub_Og>LazyDev Support</a>
"""
DNT_TEXT = """Hey sweetie {},
Thanks for thinking about us.\nIt seems that you really love <a href=https://t.me/LazyDeveloperr >LazyDeveloper's</a> work.\n\n<b>For your kind information, we do not ask or force anyone for any kind of payment</b>. But if you really want to donate us then you can send money to us from below links...\n\n💵 Reach Donation Page : <a href=http://t.me/DonateLazyDeveloper>Click here...</a>\n\nT❤️ hank you so much..
Thanks for thinking about us.\nIt seems that you really love <a href=https://t.me/AgsModsOG >AgsModsOG's</a> work.\n\n<b>For your kind information, we do not ask or force anyone for any kind of payment</b>. But if you really want to donate us then you can send money to us from below links...\n\n💵 Reach Donation Page : <a href=http://t.me/DonateAgsModsOG>Click here...</a>\n\nT❤️ hank you so much..
"""
REQ_AUTH_TEXT = """Hello {},
\nSorry sweetie.. You must have to be the Authentic User to complete this operation...\n\n👮‍♀ REPORT ISSUE HERE: <a href=https://t.me/LazyDeveloperSupport>LazyDeveloper Support</a>\n\n
\nSorry sweetie.. You must have to be the Authentic User to complete this operation...\n\n👮‍♀ REPORT ISSUE HERE: <a href=https://t.me/AgsModsOGSupport>AgsModsOG Support</a>\n\n
"""
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 = """✯ 𝙼𝚈 𝙽𝙰𝙼𝙴: {}
✯ 𝙲𝚁𝙴𝙰𝚃𝙾𝚁: <a href=https://t.me/LazyDeveloper>LazyDeveloper</a>
✯ 𝙲𝚁𝙴𝙰𝚃𝙾𝚁: <a href=https://t.me/AgsModsOG>AgsModsOG</a>
✯ 𝙻𝙸𝙱𝚁𝙰𝚁𝚈: 𝙿𝚈𝚁𝙾𝙶𝚁𝙰𝙼
✯ 𝙻𝙰𝙽𝙶𝚄𝙰𝙶𝙴: 𝙿𝚈𝚃𝙷𝙾𝙽 𝟹
✯ 𝙳𝙰𝚃𝙰 𝙱𝙰𝚂𝙴: 𝙼𝙾𝙽𝙶𝙾 𝙳𝙱
✯ 𝙱𝙾𝚃 𝚂𝙴𝚁𝚅𝙴𝚁: 𝙷𝙴𝚁𝙾𝙺𝚄
✯ 𝙱𝚄𝙸𝙻𝙳 𝚂𝚃𝙰𝚃𝚄𝚂: v1.0.1 [ 𝙱𝙴𝚃𝙰 ]"""
SOURCE_TXT = """<b>NOTE:</b>
- Lazy Princess is an open source project.
- Source - https://github.com/LazyDeveloperr/LazyPrincess
- Source - https://github.com/AgsModsOG/LazyPrincess

<b>DEVS:</b>
- <a href=https://t.me/LazyDeveloper>LazyDeveloper</a>"""
- <a href=https://t.me/AgsModsOG>AgsModsOG</a>"""
MANUELFILTER_TXT = """Help: <b>Filters</b>

- Filter is the feature were users can set automated replies for a particular keyword and LazyPriness will respond whenever that keyword hits the message
Expand All @@ -53,7 +53,7 @@ class script(object):
3. Buttons should be properly parsed as markdown format

<b>URL buttons:</b>
<code>[Button Text](buttonurl:https://t.me/LazyDeveloper)</code>
<code>[Button Text](buttonurl:https://t.me/AgsModsOG)</code>

<b>Alert buttons:</b>
<code>[Button Text](buttonalert:This is an alert message)</code>"""
Expand Down
2 changes: 1 addition & 1 deletion info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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", "⚡<b>File uploaded by [Movies Adaa™](https://t.me/real_MoviesAdda2)</b>⚡\n\n🎦 <b>File Name: </b> ➥ <i>{file_caption}</i>\n⚙️ <b>Size: </b><i>{file_size}</i>\n\n ❤️<b>WE LOVE YOU</b>❤️\n🔥 ↭ <b>Join Now [MoviesAdda™](https://t.me/real_MoviesAdda2)</b> ↭ 🔥")
CUSTOM_FILE_CAPTION = environ.get("CUSTOM_FILE_CAPTION", "📂 <b>File Name</b>: <code>{file_name}</code> ❤️‍🔥 </b>Join</b> [𝗠𝗢𝗩𝗜𝗘𝗦 𝗛𝗨𝗕](https://t.me/Movies_Hub_Og) ")
BATCH_FILE_CAPTION = environ.get("BATCH_FILE_CAPTION", CUSTOM_FILE_CAPTION)
IMDB_TEMPLATE = environ.get("IMDB_TEMPLATE", "<b>Your Query: {query}</b> \n‌‌‌‌IMDb Data by: @LazyDeveloper \n\n🏷 Title: <a href={url}>{title}</a>\n🎭 Genres: {genres}\n📆 Year: <a href={url}/releaseinfo>{year}</a>\n🌟 Rating: <a href={url}/ratings>{rating}</a> / 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)
Expand Down
20 changes: 10 additions & 10 deletions plugins/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ 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('🔔 Updates 🤖', url='https://t.me/Agsmods')
],
[
InlineKeyboardButton('🙆🏻 Help 🦾', url=f"https://t.me/{temp.U_NAME}?start=help"),
],[
InlineKeyboardButton('Watch Tutorial', url='https://youtube.com/LazyDeveloper')
InlineKeyboardButton('Watch Tutorial', url='https://youtube.com/Agsmods')
],
[
InlineKeyboardButton(text=DOWNLOAD_TEXT_NAME,url=DOWNLOAD_TEXT_URL)
]
]
reply_markup = InlineKeyboardMarkup(buttons)
await message.reply(script.START_TXT.format(message.from_user.mention if message.from_user else message.chat.title, temp.U_NAME, temp.B_NAME), reply_markup=reply_markup)
await asyncio.sleep(2) # 😢 https://github.com/LazyDeveloperr/LazyPrincess/blob/master/plugins/p_ttishow.py#L17 😬 wait a bit, before checking.
await asyncio.sleep(2) # 😢 https://github.com/Agsmodsr/LazyPrincess/blob/master/plugins/p_ttishow.py#L17 😬 wait a bit, before checking.
if not await db.get_chat(message.chat.id):
total=await client.get_chat_members_count(message.chat.id)
await client.send_message(LOG_CHANNEL, script.LOG_TEXT_G.format(message.chat.title, message.chat.id, total, "Unknown"))
Expand All @@ -50,12 +50,12 @@ async def start(client, message):
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('🔔 Updates 🤖', url='https://t.me/Agsmods')
],[
InlineKeyboardButton('🙆🏻 Help 🦾', callback_data='help'),
InlineKeyboardButton('♥️ About ♥️', callback_data='about')
],[
InlineKeyboardButton('Watch Tutorial', url='https://youtube.com/LazyDeveloper')
InlineKeyboardButton('Watch Tutorial', url='https://youtube.com/Agsmods')
]]
reply_markup = InlineKeyboardMarkup(buttons)
await message.reply_photo(
Expand All @@ -79,7 +79,7 @@ async def start(client, message):
],
[
InlineKeyboardButton(
"🦋 SUBSCRIBE YT Channel 🦋", url='https://youtube.com/@LazyDeveloperr'
"🦋 SUBSCRIBE YT Channel 🦋", url='https://youtube.com/@Agsmodsr'
)
]
]
Expand All @@ -103,12 +103,12 @@ async def start(client, message):
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('🔔 Updates 🤖', url='https://t.me/Agsmods')
],[
InlineKeyboardButton('🙆🏻 Help 🦾', callback_data='help'),
InlineKeyboardButton('♥️ About ♥️', callback_data='about')
],[
InlineKeyboardButton('Watch Tutorial', url='https://youtube.com/LazyDeveloper')
InlineKeyboardButton('Watch Tutorial', url='https://youtube.com/Agsmods')
]]
reply_markup = InlineKeyboardMarkup(buttons)
await message.reply_photo(
Expand Down Expand Up @@ -336,7 +336,7 @@ async def delete(bot, message):
if result.deleted_count:
await msg.edit('File is successfully deleted from database')
else:
# files indexed before https://github.com/LazyDeveloperr/lazyPrincess/commit/f3d2a1bcb155faf44178e5d7a685a1b533e714bf#diff-86b613edf1748372103e94cacff3b578b36b698ef9c16817bb98fe9ef22fb669R39
# files indexed before https://github.com/Agsmodsr/lazyPrincess/commit/f3d2a1bcb155faf44178e5d7a685a1b533e714bf#diff-86b613edf1748372103e94cacff3b578b36b698ef9c16817bb98fe9ef22fb669R39
# have original file name.
result = await Media.collection.delete_many({
'file_name': media.file_name,
Expand Down Expand Up @@ -374,7 +374,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 Agsmods ♥️')
await message.message.edit('Succesfully Deleted All The Indexed Files.')


Expand Down
Loading