From ac8fdf9338e4595d06c08445fe5242cbe3979a34 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Thu, 24 Feb 2022 10:57:02 +0700 Subject: [PATCH] [check] some changes --- program/music_stream.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/program/music_stream.py b/program/music_stream.py index abe7da2..094622c 100644 --- a/program/music_stream.py +++ b/program/music_stream.py @@ -209,6 +209,8 @@ async def play(c: Client, m: Message): ) await user.join_chat(invitelink) await remove_active_chat(chat_id) + except UserAlreadyParticipant: + pass except UserNotParticipant: try: invitelink = (await c.get_chat(chat_id)).invite_link