BinaryONe
commited on
Commit
·
cb3ed83
1
Parent(s):
f889c7f
Callback Update
Browse files
FileStream/bot/plugins/FileHandlers/callback.py
CHANGED
@@ -142,6 +142,7 @@ async def cb_data(bot: Client, update: CallbackQuery):
|
|
142 |
)
|
143 |
elif usr_cmd[0] == "pubup":
|
144 |
try:
|
|
|
145 |
user_id = str(usr_cmd[1])
|
146 |
message_id = int(usr_cmd[2])
|
147 |
msg_type = usr_cmd[3]
|
|
|
142 |
)
|
143 |
elif usr_cmd[0] == "pubup":
|
144 |
try:
|
145 |
+
print("Public Upload :",usr_cmd)
|
146 |
user_id = str(usr_cmd[1])
|
147 |
message_id = int(usr_cmd[2])
|
148 |
msg_type = usr_cmd[3]
|
FileStream/utils/FileProcessors/file_properties.py
CHANGED
@@ -191,7 +191,7 @@ def get_file_info(message, instruction):
|
|
191 |
"message_id": message.id,
|
192 |
"TMDB_id": int(),
|
193 |
"title": "Unknown",
|
194 |
-
"type": instruction['type'] if 'type' in instruction else
|
195 |
"subtype":"Unknown",
|
196 |
"quality":"Unknown",
|
197 |
"location": message.from_user.id if (message.chat.type == ChatType.PRIVATE) else message.chat.id,
|
|
|
191 |
"message_id": message.id,
|
192 |
"TMDB_id": int(),
|
193 |
"title": "Unknown",
|
194 |
+
"type": f"{instruction['type'] if 'type' in instruction else 'Unknown'}",
|
195 |
"subtype":"Unknown",
|
196 |
"quality":"Unknown",
|
197 |
"location": message.from_user.id if (message.chat.type == ChatType.PRIVATE) else message.chat.id,
|