mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-02 18:44:51 +00:00
indent
This commit is contained in:
parent
f6185729a3
commit
2631e22815
1 changed files with 3 additions and 3 deletions
|
|
@ -114,9 +114,9 @@ async def convertsrt(c, m):
|
|||
msg = await m.reply("⏳ Converting...")
|
||||
dl = await reply.download()
|
||||
filename = dl.split("/", 3)[3]
|
||||
LOGGER.info(
|
||||
f"ConvertSub: {filename} by {m.from_user.first_name} [{m.from_user.id}]"
|
||||
)
|
||||
LOGGER.info(
|
||||
f"ConvertSub: {filename} by {m.from_user.first_name} [{m.from_user.id}]"
|
||||
)
|
||||
(await shell_exec(f"mediaextract -i '{dl}' {filename}.srt"))[0]
|
||||
await m.reply_document(
|
||||
f"{filename}.srt", caption=f"{filename}.srt\n\nConverted by @{c.me.username}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue