mirror of
https://github.com/avipatilpro/FileStreamBot.git
synced 2026-01-15 14:22:53 -03:00
Initial Commit
This commit is contained in:
@@ -36,11 +36,7 @@ async def private_receive_handler(c: Client, m: Message):
|
||||
chat_id=m.chat.id,
|
||||
text="""<i>Jᴏɪɴ ᴍʏ ᴜᴘᴅᴀᴛᴇ ᴄʜᴀɴɴᴇʟ ᴛᴏ ᴜꜱᴇ ᴍᴇ 🔐</i>""",
|
||||
reply_markup=InlineKeyboardMarkup(
|
||||
[
|
||||
[
|
||||
InlineKeyboardButton("Jᴏɪɴ ɴᴏᴡ 🔓", url=f"https://t.me/{Var.UPDATES_CHANNEL}")
|
||||
]
|
||||
]
|
||||
[[ InlineKeyboardButton("Jᴏɪɴ ɴᴏᴡ 🔓", url=f"https://t.me/{Var.UPDATES_CHANNEL}") ]]
|
||||
),
|
||||
parse_mode="HTML"
|
||||
)
|
||||
@@ -76,15 +72,10 @@ async def private_receive_handler(c: Client, m: Message):
|
||||
|
||||
msg_text ="""
|
||||
<i><u>𝗬𝗼𝘂𝗿 𝗟𝗶𝗻𝗸 𝗚𝗲𝗻𝗲𝗿𝗮𝘁𝗲𝗱 !</u></i>
|
||||
|
||||
<b>📂 Fɪʟᴇ ɴᴀᴍᴇ :</b> <i>{}</i>
|
||||
|
||||
<b>📦 Fɪʟᴇ ꜱɪᴢᴇ :</b> <i>{}</i>
|
||||
|
||||
<b>📥 Dᴏᴡɴʟᴏᴀᴅ :</b> <i>{}</i>
|
||||
|
||||
<b>🚸 Nᴏᴛᴇ : Lɪɴᴋ ᴇxᴘɪʀᴇᴅ ɪɴ 24 ʜᴏᴜʀꜱ</b>
|
||||
|
||||
<i>© @AvishkarPatil </i>"""
|
||||
|
||||
await log_msg.reply_text(text=f"**RᴇQᴜᴇꜱᴛᴇᴅ ʙʏ :** [{m.from_user.first_name}](tg://user?id={m.from_user.id})\n**Uꜱᴇʀ ɪᴅ :** `{m.from_user.id}`\n**Dᴏᴡɴʟᴏᴀᴅ ʟɪɴᴋ :** {stream_link}", disable_web_page_preview=True, parse_mode="Markdown", quote=True)
|
||||
@@ -121,10 +112,7 @@ async def channel_receive_handler(bot, broadcast):
|
||||
chat_id=broadcast.chat.id,
|
||||
message_id=broadcast.message_id,
|
||||
reply_markup=InlineKeyboardMarkup(
|
||||
[
|
||||
[InlineKeyboardButton("Dᴏᴡɴʟᴏᴀᴅ ʟɪɴᴋ 📥", url=stream_link)]
|
||||
]
|
||||
)
|
||||
[[InlineKeyboardButton("Dᴏᴡɴʟᴏᴀᴅ ʟɪɴᴋ 📥", url=stream_link)]])
|
||||
)
|
||||
except FloodWait as w:
|
||||
print(f"Sleeping for {str(w.x)}s")
|
||||
|
||||
Reference in New Issue
Block a user