Skip to content

Commit

Permalink
Update play_video.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiiRepair committed Aug 5, 2023
1 parent b300a22 commit bca1d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tlg_bot/kreacher/plugins/play_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ async def play_video(event):
return await msg.edit("❗ __Send Me An Live Stream Link / YouTube Video Link / Reply To An Video To Start Video Streaming!__")
regex = r"^(https?\:\/\/)?(www\.youtube\.com|youtu\.?be)\/.+"
match = re.match(regex, url)
if chat.id not in VOICE_CHATS[chat.id]:
if chat.id not in VOICE_CHATS:
await msg.edit("<i>Joining the voice chat...</i>", parse_mode="HTML")
await ins.start(chat.id)
VOICE_CHATS[chat.id] = ins
Expand Down

0 comments on commit bca1d41

Please sign in to comment.