From 1a1e0014ee33d4066773e6dc24459af7368bb9e7 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Tue, 19 Oct 2021 09:59:35 +0700 Subject: [PATCH 1/2] done --- lib/driver/callback.py | 58 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 54 insertions(+), 4 deletions(-) diff --git a/lib/driver/callback.py b/lib/driver/callback.py index b0c9943..51ac2ab 100644 --- a/lib/driver/callback.py +++ b/lib/driver/callback.py @@ -4,14 +4,35 @@ @Client.on_callback_query(filters.regex("cbstart")) async def cbstart(_, query: CallbackQuery): - await query.edit_message_text(f"""๐๐ป **Hi [{query.message.chat.first_name}](tg://user?id={query.message.chat.id}) !** -**I'm online and ready for playing video.** -**For more information, hit the ยป ๐ `Command` bellow**""", + await query.edit_message_text(f"""โจ **Hello [{query.message.chat.first_name}](tg://user?id={query.message.chat.id}) !** + +โ I'm online and ready for playing video on your Group video chat. + +โ To see all my **feature list and the information**, Click on the ยป โ **Basic Guide button** below""", + reply_markup=InlineKeyboardMarkup( + [ + [ + InlineKeyboardButton( + "โ Basic Guide", callback_data="cbhelp" + ) + ] + ] + ), + ) + + +@Client.on_callback_query(filters.regex("cbhome")) +async def cbstart(_, query: CallbackQuery): + await query.edit_message_text(f"""โจ **Welcome [{query.message.chat.first_name}](tg://user?id={query.message.chat.id}) !** + +โ I'm online and ready for playing video on your Group video chat. + +โ To see all my **feature list and the information**, Click on the ยป ๐ **Commands button** below""", reply_markup=InlineKeyboardMarkup( [ [ InlineKeyboardButton( - "๐ Command", callback_data="cbhelp" + "๐ Commands", callback_data="cbhelp" ) ] ] @@ -48,6 +69,35 @@ async def cbhelp(_, query: CallbackQuery): ), ) +@Client.on_callback_query(filters.regex("cbcmds")) +async def cbstart(_, query: CallbackQuery): + await query.edit_message_text(f"""It os the help menu for streaming! +You can find how to use me on the button bellow.""", + reply_markup=InlineKeyboardMarkup( + [ + [ + InlineKeyboardButton( + "Help Play", callback_data="cbplay"), + InlineKeyboardButton( + "Help Pauseโโ", callback_data="cbpause" + ), + ], + [ + InlineKeyboardButton( + "Help Resume", callback_data="cbresume"), + InlineKeyboardButton( + "Help Stop", callback_data="cbstop" + ) + ], + [ + InlineKeyboardButton( + "Home", callback_data="cbhome" + ) + ] + ] + ), + ) + @Client.on_callback_query(filters.regex("cbplay")) async def cbplay(_, query: CallbackQuery): From 4d11b9ed0ae769172e5b4fede1208f678593f3a5 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Tue, 19 Oct 2021 10:04:03 +0700 Subject: [PATCH 2/2] change colour gelap nya macam masa depan kamu --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d97df5..81bb889 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ $ python -m lib ## Easy way deploy with [](https://railway.app/new/template?template=https://github.com/FeriEXP/VideoStream/&envs=API_ID,API_HASH,SESSION_NAME,BOT_TOKEN,SUDO_USERS,USERNAME_BOT) -
+ # Credit