From 8ff2e79d22f66d4dd604d84567b8fc69b16151cc Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Fri, 10 Sep 2021 22:32:16 +0700 Subject: [PATCH] info --- bot/videoplayer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/videoplayer.py b/bot/videoplayer.py index 4a39335..ef200ed 100644 --- a/bot/videoplayer.py +++ b/bot/videoplayer.py @@ -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