From 89d024c6bf7a9a275ff997705d3d9bd5cc8a20b9 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Sun, 7 Nov 2021 19:10:33 +0700 Subject: [PATCH] added more button button (#40 ) --- program/video.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/program/video.py b/program/video.py index 7e42f84..0f7a516 100644 --- a/program/video.py +++ b/program/video.py @@ -5,7 +5,7 @@ import asyncio import re -from config import ASSISTANT_NAME, BOT_USERNAME, IMG_1, IMG_2 +from config import ASSISTANT_NAME, BOT_USERNAME, IMG_1, IMG_2, UPDATES_CHANNEL from driver.filters import command, other_filters from driver.queues import QUEUE, add_to_queue from driver.veez import call_py, user @@ -65,6 +65,8 @@ async def vplay(c: Client, m: Message): [ InlineKeyboardButton(text="• Mᴇɴᴜ", callback_data="cbmenu"), InlineKeyboardButton(text="• Cʟᴏsᴇ", callback_data="cls"), + ],[ + InlineKeyboardButton(text="✨ Cʜᴀɴɴᴇʟ", url=f"https://t.me/{UPDATES_CHANNEL}"), ] ] ) @@ -298,6 +300,8 @@ async def vstream(c: Client, m: Message): [ InlineKeyboardButton(text="• Mᴇɴᴜ", callback_data="cbmenu"), InlineKeyboardButton(text="• Cʟᴏsᴇ", callback_data="cls"), + ],[ + InlineKeyboardButton(text="✨ Cʜᴀɴɴᴇʟ", url=f"https://t.me/{UPDATES_CHANNEL}"), ] ] )