Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Commit

Permalink
Update circle.py
Browse files Browse the repository at this point in the history
  • Loading branch information
code-rgb authored Nov 12, 2020
1 parent d0e6eb1 commit 6bd467b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userge/plugins/utils/circle.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ async def video_note(message: Message):
f"ffmpeg -loop 1 -i {thumb_loc} -i {audio_loc} -c:v libx264 -tune stillimage -c:a aac -b:a 192k -vf \"scale='iw-mod (iw,2)':'ih-mod(ih,2)',format=yuv420p\" -shortest -movflags +faststart {PATH}"
)
if os.path.exists(PATH):
await userge.send_video_note(message.chat.id, PATH)
await message.client.send_video_note(message.chat.id, PATH)
await message.delete()
shutil.rmtree(CACHE)

0 comments on commit 6bd467b

Please sign in to comment.