Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 07dd253

Browse files
committed
update to last release but fix log channel msg
1 parent 11db646 commit 07dd253

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

WebStreamer/bot/plugins/stream.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
<b>Requested By:</b> {}
3333
<b>User ID:</b> <code>{}</code>
3434
<b>Download Link:</b> {}
35-
<b>Direct Link:</b> {}
3635
<b>Expires in:</b> {}
3736
"""
3837

@@ -97,11 +96,6 @@ async def private_receive_handler(c: Client, m: Message):
9796
user_id,
9897
user_expire_time,
9998
)
100-
direct_link = (
101-
f"https://{Vars.FQDN}/{random_url}"
102-
if Vars.ON_HEROKU or Vars.NO_PORT
103-
else f"https://{Vars.FQDN}:{Vars.PORT}/{random_url}"
104-
)
10599

106100
# Only get file size if it's a file, different for photos
107101
doc = m.document or m.audio or m.video
@@ -117,7 +111,6 @@ async def private_receive_handler(c: Client, m: Message):
117111
user.mention,
118112
user_id,
119113
stream_link,
120-
direct_link,
121114
# NOTE: Only 'never' is allowed for owners
122115
Formatters.time_formatter(user_expire_time)
123116
if user_expire_time != -1

0 commit comments

Comments
 (0)