diff --git a/userge/plugins/utils/circle.py b/userge/plugins/utils/circle.py index d92f7f520..0e16f5abc 100644 --- a/userge/plugins/utils/circle.py +++ b/userge/plugins/utils/circle.py @@ -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)