From c80dc209e78351bc986bdac7a4119120dc459772 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Tue, 15 Feb 2022 23:44:03 +0700 Subject: [PATCH] title length --- program/music.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/program/music.py b/program/music.py index e8184bb..7ba71ff 100644 --- a/program/music.py +++ b/program/music.py @@ -117,9 +117,9 @@ async def play(c: Client, m: Message): try: if replied.audio: if replied.audio.title: - songname = replied.audio.title[:70] + songname = replied.audio.title[:80] else: - songname = replied.audio.file_name[:70] + songname = replied.audio.file_name[:80] if replied.audio.thumbs: thumbnail = await c.download_media(replied.audio.thumbs[0].file_id) duration = convert_seconds(replied.audio.duration)