Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# How To Host
The easiest way to deploy this Bot
<p align="center"><a href="https://heroku.com/deploy?template=https://github.com/QueenArzoo/VCPlayBot"> <img src="https://img.shields.io/badge/Deploy%20To%20Heroku-red?style=for-the-badge&logo=heroku" width="220" height="38.45"/></a></p>
<p align="center"><a href="https://heroku.com/deploy?template=https://github.com/log-afk-xD/VCPlayBot"> <img src="https://img.shields.io/badge/Deploy%20To%20Heroku-red?style=for-the-badge&logo=heroku" width="220" height="38.45"/></a></p>


- Support Channel :- [Awesome Bot](http://t.me/LaylaList)
Expand Down
10 changes: 2 additions & 8 deletions VCPlayBot/modules/play.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ async def play(_, message: Message):
toxxt = "**Select the song you want to play**\n\n"
j = 0
useer=user_name
emojilist = ["1️⃣","2️⃣","3️⃣","4️⃣","5️⃣",]
emojilist = ["1️⃣",]

while j < 5:
toxxt += f"{emojilist[j]} <b>Title - [{results[j]['title']}](https://youtube.com{results[j]['url_suffix']})</b>\n"
Expand All @@ -637,13 +637,7 @@ async def play(_, message: Message):
koyboard = InlineKeyboardMarkup(
[
[
InlineKeyboardButton("1️⃣", callback_data=f'plll 0|{query}|{user_id}'),
InlineKeyboardButton("2️⃣", callback_data=f'plll 1|{query}|{user_id}'),
InlineKeyboardButton("3️⃣", callback_data=f'plll 2|{query}|{user_id}'),
],
[
InlineKeyboardButton("4️⃣", callback_data=f'plll 3|{query}|{user_id}'),
InlineKeyboardButton("5️⃣", callback_data=f'plll 4|{query}|{user_id}'),
InlineKeyboardButton("1️⃣", callback_data=f'plll 0|{query}|{user_id}'),
],
[InlineKeyboardButton(text="❌", callback_data="cls")],
]
Expand Down