Spaces:
Running
Running
UI: Redesign Thumbnail/Caption help texts and apply final emoji fixes
Browse files- plugins/callback.py +1 -1
- plugins/ping.py +1 -1
- 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("
|
| 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=5224607267797606837)],
|
| 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/ping.py
CHANGED
|
@@ -11,7 +11,7 @@ async def ping(_, message):
|
|
| 11 |
rm = await message.reply_text("Pinging....")
|
| 12 |
end_t = time.time()
|
| 13 |
time_taken_s = (end_t - start_t) * 1000
|
| 14 |
-
await rm.edit(f"Ping 🔥!\n\n{time_taken_s:.3f} ms")
|
| 15 |
return time_taken_s
|
| 16 |
|
| 17 |
|
|
|
|
| 11 |
rm = await message.reply_text("Pinging....")
|
| 12 |
end_t = time.time()
|
| 13 |
time_taken_s = (end_t - start_t) * 1000
|
| 14 |
+
await rm.edit(f"Ping <emoji id=5456130129883316184>🔥</emoji>!\n\n{time_taken_s:.3f} ms")
|
| 15 |
return time_taken_s
|
| 16 |
|
| 17 |
|
script.py
CHANGED
|
@@ -4,6 +4,6 @@ class script(object):
|
|
| 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 = """<
|
| 8 |
-
CAPTION_TXT = """<b><
|
| 9 |
METADATA_TXT = """<b><u>📥 HOW TO SET METADATA</u></b>\n\n➜ Send Me The Metadata Code You Want To Set.\n\n<b>Example :-</b> <code>By @Madflix_Bots</code>"""
|
|
|
|
| 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 = """<emoji id=5375074927252621134>🖼️</emoji> <b>Thumbnail Settings</b>\n\n<i>Custom thumbnails add a personal touch to your files.</i>\n\n<b><emoji id=5433653135799228968>📁</emoji> How to Manage:</b>\n • <b>Save</b>: Send any photo to the bot.\n • <b>Check</b>: Use /showthumb command.\n • <b>Delete</b>: Use /delthumb command.\n\n<emoji id=5456140674028019486>⚡️</emoji> <i>Fast, simple, and automated.</i>"""
|
| 8 |
+
CAPTION_TXT = """<emoji id=5316994101688677895>✏️</emoji> <b>Caption Settings</b>\n\n<i>Custom captions help organize and brand your media.</i>\n\n<b><emoji id=5985386442824619877>🚀</emoji> How to Manage:</b>\n • <b>Set</b>: Use /set_caption command.\n • <b>See</b>: Use /see_caption command.\n • <b>Delete</b>: Use /del_caption command.\n\n<emoji id=5456140674028019486>⚡️</emoji> <i>Branding made easy for your channel.</i>"""
|
| 9 |
METADATA_TXT = """<b><u>📥 HOW TO SET METADATA</u></b>\n\n➜ Send Me The Metadata Code You Want To Set.\n\n<b>Example :-</b> <code>By @Madflix_Bots</code>"""
|