Spaces:
Running
Running
BinaryONe
commited on
Commit
·
a8dd6ac
1
Parent(s):
0b8a548
Changes in Database
Browse files
FileStream/bot/plugins/Admin/admin.py
CHANGED
@@ -26,7 +26,7 @@ async def iamadmin(c: Client, m: Message):
|
|
26 |
await m.reply_text(
|
27 |
text=LANG.ADMIN_GUIDELINES_TEXT_Y.format("/add_user <UserID>","/add_admin <UserID>"),
|
28 |
parse_mode=ParseMode.HTML,
|
29 |
-
|
30 |
|
31 |
|
32 |
#Authorize User to Use the Services
|
|
|
26 |
await m.reply_text(
|
27 |
text=LANG.ADMIN_GUIDELINES_TEXT_Y.format("/add_user <UserID>","/add_admin <UserID>"),
|
28 |
parse_mode=ParseMode.HTML,
|
29 |
+
)
|
30 |
|
31 |
|
32 |
#Authorize User to Use the Services
|
FileStream/utils/FileProcessors/bot_utils.py
CHANGED
@@ -174,7 +174,7 @@ async def gen_link(_id):
|
|
174 |
poster = file_info['poster']
|
175 |
title=file_info["title"]
|
176 |
description=file_info['description']
|
177 |
-
release_date=file_info["release_date"],
|
178 |
page_link = f"{Server.URL}app/watch/{_id}"
|
179 |
stream_link = f"{Server.URL}api/dl/{_id}"
|
180 |
file_link = f"https://t.me/{FileStream.username}?start=file_{_id}"
|
|
|
174 |
poster = file_info['poster']
|
175 |
title=file_info["title"]
|
176 |
description=file_info['description']
|
177 |
+
release_date=str(file_info["release_date"]),
|
178 |
page_link = f"{Server.URL}app/watch/{_id}"
|
179 |
stream_link = f"{Server.URL}api/dl/{_id}"
|
180 |
file_link = f"https://t.me/{FileStream.username}?start=file_{_id}"
|
FileStream/utils/FileProcessors/translation.py
CHANGED
@@ -34,10 +34,11 @@ class LANG(object):
|
|
34 |
|
35 |
|
36 |
STREAM_TEXT = """
|
37 |
-
<i
|
38 |
-
<img src=
|
39 |
<b>📣 ᴅᴇꜱᴄʀɪᴘᴛɪᴏɴ :</b> {} \n
|
40 |
-
<b>📊
|
|
|
41 |
<b>📂 Fɪʟᴇ ɴᴀᴍᴇ :</b> <b><code>{}</code></b>\n
|
42 |
<b>📦 Fɪʟᴇ ꜱɪᴢᴇ :</b> <code>{}</code>\n
|
43 |
<b>📥 Dᴏᴡɴʟᴏᴀᴅ :</b> <code>{}</code>\n
|
|
|
34 |
|
35 |
|
36 |
STREAM_TEXT = """
|
37 |
+
<i>𝗬𝗼𝘂𝗿 𝗟𝗶𝗻𝗸 𝗚𝗲𝗻𝗲𝗿𝗮𝘁𝗲𝗱 !</i>\n
|
38 |
+
<img src={} width="150" height="300">\n
|
39 |
<b>📣 ᴅᴇꜱᴄʀɪᴘᴛɪᴏɴ :</b> {} \n
|
40 |
+
<b>📊 ɪᴍᴅʙ :</b> {} \n
|
41 |
+
<b>📦 રειελȘε :</b> {} \n
|
42 |
<b>📂 Fɪʟᴇ ɴᴀᴍᴇ :</b> <b><code>{}</code></b>\n
|
43 |
<b>📦 Fɪʟᴇ ꜱɪᴢᴇ :</b> <code>{}</code>\n
|
44 |
<b>📥 Dᴏᴡɴʟᴏᴀᴅ :</b> <code>{}</code>\n
|