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 6, 2023
1 parent 89394ec commit ae9e3b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tlg_bot/plugins/play_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async def play_video(event):
return await sleep(3)
if match:
await msg.edit(
"🔄 <i>Starting YouTube Video Stream...</i>", parse_mode="HTML"
"🔄 <i>Starting YouTube video stream...</i>", parse_mode="HTML"
)
try:
meta = ydl.extract_info(url=url, download=False)
Expand Down Expand Up @@ -158,7 +158,7 @@ async def play_video(event):
return await sleep(3)


@kreacher.on(events.NewMessage(pattern="^[?!/]playlist"))
@kreacher.on(events.NewMessage(pattern="^[!?/]playlist"))
async def playlist(event):
chat = event.get_chat()
user = event.get_sender()
Expand Down Expand Up @@ -189,7 +189,7 @@ async def playlist(event):
await event.reply("**Ntg is Streaming**")


@kreacher.on(events.NewMessage(pattern="^[?!/]pause"))
@kreacher.on(events.NewMessage(pattern="^[!?/]pause"))
async def pause(event):
chat = event.get_chat()
user = event.get_sender()
Expand All @@ -208,7 +208,7 @@ async def pause(event):
await event.reply("**Nothing Is Playing**")


@kreacher.on(events.NewMessage(pattern="^[?!/]resume"))
@kreacher.on(events.NewMessage(pattern="^[!?/]resume"))
async def resume(event):
chat = event.get_chat()
user = event.get_sender()
Expand Down

0 comments on commit ae9e3b8

Please sign in to comment.