This commit is contained in:
levina 2021-09-10 22:32:16 +07:00 committed by GitHub
parent c2300d8a99
commit 8ff2e79d22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ def youtube(url: str):
return
@Client.on_message(command(["play", f"play@{BOT_USERNAME}"]) & filters.group & ~filters.edited)
@Client.on_message(command(["vplay", f"vplay@{BOT_USERNAME}"]) & filters.group & ~filters.edited)
@authorized_users_only
async def startvideo(client, m: Message):
replied = m.reply_to_message
@ -139,7 +139,7 @@ async def startvideo(client, m: Message):
await m.reply("💭 please reply to video or video file to stream")
@Client.on_message(command(["end", f"end@{BOT_USERNAME}"]) & filters.group & ~filters.edited)
@Client.on_message(command(["vstop", f"vstop@{BOT_USERNAME}"]) & filters.group & ~filters.edited)
@authorized_users_only
async def stopvideo(client, m: Message):
chat_id = m.chat.id