Spaces:
Running
Running
UI: Update About section branding and change button text to '🤖 About'
Browse files- plugins/callback.py +1 -1
- plugins/start.py +5 -5
- script.py +2 -2
plugins/callback.py
CHANGED
|
@@ -81,7 +81,7 @@ async def home_callback_handler(bot, query):
|
|
| 81 |
[InlineKeyboardButton("Updates", url="https://t.me/dragbots", icon_custom_emoji_id=5985386442824619877),
|
| 82 |
InlineKeyboardButton("Support", url="https://t.me/dragbotsupport", icon_custom_emoji_id=5456140674028019486)],
|
| 83 |
[InlineKeyboardButton("Help", callback_data='help', icon_custom_emoji_id=5375074927252621134),
|
| 84 |
-
InlineKeyboardButton("About", callback_data='about', icon_custom_emoji_id=5316994101688677895)],
|
| 85 |
[InlineKeyboardButton("Developer", url="https://t.me/lungiiman", icon_custom_emoji_id=5985386442824619877)]
|
| 86 |
])
|
| 87 |
await query.message.edit_text(text=text, reply_markup=keybord)
|
|
|
|
| 81 |
[InlineKeyboardButton("Updates", url="https://t.me/dragbots", icon_custom_emoji_id=5985386442824619877),
|
| 82 |
InlineKeyboardButton("Support", url="https://t.me/dragbotsupport", icon_custom_emoji_id=5456140674028019486)],
|
| 83 |
[InlineKeyboardButton("Help", callback_data='help', icon_custom_emoji_id=5375074927252621134),
|
| 84 |
+
InlineKeyboardButton("🤖 About", callback_data='about', icon_custom_emoji_id=5316994101688677895)],
|
| 85 |
[InlineKeyboardButton("Developer", url="https://t.me/lungiiman", icon_custom_emoji_id=5985386442824619877)]
|
| 86 |
])
|
| 87 |
await query.message.edit_text(text=text, reply_markup=keybord)
|
plugins/start.py
CHANGED
|
@@ -33,14 +33,14 @@ async def start(client, message):
|
|
| 33 |
await asyncio.sleep(2)
|
| 34 |
await loading_sticker_message.delete()
|
| 35 |
|
| 36 |
-
text = f"""<emoji id="
|
| 37 |
|
| 38 |
button = InlineKeyboardMarkup([
|
| 39 |
-
[InlineKeyboardButton("Updates", url="https://t.me/dragbots", icon_custom_emoji_id=
|
| 40 |
-
InlineKeyboardButton("Support", url="https://t.me/dragbotsupport", icon_custom_emoji_id=
|
| 41 |
[InlineKeyboardButton("Help", callback_data='help', icon_custom_emoji_id=5375074927252621134),
|
| 42 |
-
InlineKeyboardButton("About", callback_data='about', icon_custom_emoji_id=
|
| 43 |
-
[InlineKeyboardButton("Developer", url="https://t.me/lungiiman", icon_custom_emoji_id=
|
| 44 |
])
|
| 45 |
|
| 46 |
await message.reply_photo(
|
|
|
|
| 33 |
await asyncio.sleep(2)
|
| 34 |
await loading_sticker_message.delete()
|
| 35 |
|
| 36 |
+
text = f"""<emoji id="5224607267797606837">💌</emoji> <b>Welcome, {message.from_user.mention}!</b>\n\n<emoji id="5985386442824619877">🚀</emoji> <i>Experience the next level of <b>Auto Renaming</b> with unmatched speed and precision.</i>\n\n<b><emoji id="5433653135799228968">📁</emoji> High-End Features:</b>\n • <b>Renaming</b> with custom metadata.\n • <b>Thumbnail</b> management with ease.\n • <b>Convert</b> between Files and Videos.\n • <b>Fast</b> & Secure processing.\n\n<emoji id="5456140674028019486">⚡️</emoji> <i>Built for efficiency, designed for you.</i>\n\n<b>Bot Managed By @dragbotsupport</b>"""
|
| 37 |
|
| 38 |
button = InlineKeyboardMarkup([
|
| 39 |
+
[InlineKeyboardButton("Updates", url="https://t.me/dragbots", icon_custom_emoji_id=5443038326535759644),
|
| 40 |
+
InlineKeyboardButton("Support", url="https://t.me/dragbotsupport", icon_custom_emoji_id=5462921117423384478)],
|
| 41 |
[InlineKeyboardButton("Help", callback_data='help', icon_custom_emoji_id=5375074927252621134),
|
| 42 |
+
InlineKeyboardButton("About", callback_data='about', icon_custom_emoji_id=5224607267797606837)],
|
| 43 |
+
[InlineKeyboardButton("Developer", url="https://t.me/lungiiman", icon_custom_emoji_id=5150078684585002132)]
|
| 44 |
])
|
| 45 |
|
| 46 |
await message.reply_photo(
|
script.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
class script(object):
|
| 2 |
-
START_TXT = """Hello {0} \n\n➻ This Is An Advanced And Yet Powerful Rename Bot.\n\n➻ Using This Bot You Can Rename And Change Thumbnail Of Your Files.\n\n➻ You Can Also Convert Video To File Aɴᴅ File To Video.\n\n➻ This Bot Also Supports Custom Thumbnail And Custom Caption.\n\n<b>Bot Is Made By @
|
| 3 |
HELP_TXT = """<b>Hey {0} \n\nHere Is The Help For My Commands.</b>"""
|
| 4 |
-
ABOUT_TXT = """<b>My Name :- {0} \n\n➻ Developer :- @
|
| 5 |
DONATE_TXT = """<b>Thanks For Showing Interest In Donation! ❤️\n\nIf You Like My Projects You Can Donate Me Any Amount From 10 Rs To 10000 Rs.\n\nYour Donation Helps Me To Keep My Services Alive.</b>"""
|
| 6 |
ADMIN_TXT = """<b>Admin Commands :- \n\n➜ /broadcast - Send Message To All Users \n➜ /users - Check Total Users \n➜ /restart - Restart The Bot </b>"""
|
| 7 |
THUMBNAIL_TXT = """<b><u><emoji id=5375074927252621134>🖼️</emoji> HOW TO SET THUMBNAIL</u></b>\n\n➜ Send Any Photo To Me To Save It As Custom Thumbnail.\n➜ /delthumb - Delete Your Custom Thumbnail.\n➜ /showthumb - Show Your Custom Thumbnail."""
|
|
|
|
| 1 |
class script(object):
|
| 2 |
+
START_TXT = """Hello {0} \n\n➻ This Is An Advanced And Yet Powerful Rename Bot.\n\n➻ Using This Bot You Can Rename And Change Thumbnail Of Your Files.\n\n➻ You Can Also Convert Video To File Aɴᴅ File To Video.\n\n➻ This Bot Also Supports Custom Thumbnail And Custom Caption.\n\n<b>Bot Is Made By @dragbotsupport</b>"""
|
| 3 |
HELP_TXT = """<b>Hey {0} \n\nHere Is The Help For My Commands.</b>"""
|
| 4 |
+
ABOUT_TXT = """<b>My Name :- {0} \n\n➻ Developer :- @dragbotsupport \n➻ Library :- Kurigram \n➻ Language :- Python 3 \n➻ Database :- MongoDB \n➻ Build Status :- Stable </b>"""
|
| 5 |
DONATE_TXT = """<b>Thanks For Showing Interest In Donation! ❤️\n\nIf You Like My Projects You Can Donate Me Any Amount From 10 Rs To 10000 Rs.\n\nYour Donation Helps Me To Keep My Services Alive.</b>"""
|
| 6 |
ADMIN_TXT = """<b>Admin Commands :- \n\n➜ /broadcast - Send Message To All Users \n➜ /users - Check Total Users \n➜ /restart - Restart The Bot </b>"""
|
| 7 |
THUMBNAIL_TXT = """<b><u><emoji id=5375074927252621134>🖼️</emoji> HOW TO SET THUMBNAIL</u></b>\n\n➜ Send Any Photo To Me To Save It As Custom Thumbnail.\n➜ /delthumb - Delete Your Custom Thumbnail.\n➜ /showthumb - Show Your Custom Thumbnail."""
|