Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.
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
Binary file modified etc/foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions handlers/play.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def r_ply(type_):

],
[
InlineKeyboardButton('Playlist 📖', 'playlist'),
InlineKeyboardButton('Playlist📃', 'playlist'),

],
[
Expand Down Expand Up @@ -371,7 +371,7 @@ async def m_cb(b, cb):

],
[
InlineKeyboardButton('Playlist 📖', 'playlist'),
InlineKeyboardButton('Playlist 📃', 'playlist'),

],
[
Expand Down Expand Up @@ -416,7 +416,7 @@ async def m_cb(b, cb):
@Client.on_message(command("play") & other_filters)
async def play(_, message: Message):
global que
lel = await message.reply("🔄 **Processing**")
lel = await message.reply(" **Processing**")
administrators = await get_administrators(message.chat)
chid = message.chat.id

Expand Down Expand Up @@ -477,7 +477,7 @@ async def play(_, message: Message):
for i in message.command[1:]:
query += ' ' + str(i)
print(query)
await lel.edit("🎵 **Processing**")
await lel.edit(" **Processing**")
ydl_opts = {"format": "bestaudio[ext=m4a]"}
try:
results = YoutubeSearch(query, max_results=1).to_dict()
Expand All @@ -501,7 +501,7 @@ async def play(_, message: Message):
[
[

InlineKeyboardButton('📖 Playlist', callback_data='playlist'),
InlineKeyboardButton('📃 Playlist', callback_data='playlist'),
InlineKeyboardButton('Menu ⏯ ', callback_data='menu')

],
Expand Down Expand Up @@ -550,7 +550,7 @@ async def play(_, message: Message):
await message.reply_photo(
photo="final.png",
reply_markup=keyboard,
caption="▶️ **Playing** here the song requested by {} via Group Music Bot 👨‍🎤".format(
caption="🎶 **Playing** here the song requested by {} ".format(
message.from_user.mention()
),
)
Expand All @@ -565,7 +565,7 @@ async def play(_, message: Message):
)
async def deezer(client: Client, message_: Message):
global que
lel = await message_.reply("🔄 **Processing**")
lel = await message_.reply(" **Processing**")
administrators = await get_administrators(message_.chat)
chid = message_.chat.id
try:
Expand Down Expand Up @@ -666,7 +666,7 @@ async def deezer(client: Client, message_: Message):
qeue.append(appendable)
await res.edit_text(f"♪ Group Music Bot ♪= #️⃣ Queued at position {position}")
else:
await res.edit_text("♪ Group Music Bot ♪=▶️ Playing.....")
await res.edit_text("♪ Group Music Bot ♪=🎶 Playing.....")
chat_id = message_.chat.id
que[chat_id] = []
qeue = que.get(message_.chat.id)
Expand Down Expand Up @@ -695,7 +695,7 @@ async def deezer(client: Client, message_: Message):
)
async def jiosaavn(client: Client, message_: Message):
global que
lel = await message_.reply("🔄 **Processing**")
lel = await message_.reply(" **Processing**")
administrators = await get_administrators(message_.chat)
chid = message_.chat.id
try:
Expand Down Expand Up @@ -769,7 +769,7 @@ async def jiosaavn(client: Client, message_: Message):
keyboard = InlineKeyboardMarkup(
[
[
InlineKeyboardButton('📖 Playlist', callback_data='playlist'),
InlineKeyboardButton('📃 Playlist', callback_data='playlist'),
InlineKeyboardButton('Menu ⏯ ', callback_data='menu')
],
[
Expand Down Expand Up @@ -804,7 +804,7 @@ async def jiosaavn(client: Client, message_: Message):
)

else:
await res.edit_text("♪ Group Music Bot ♪=▶️ Playing.....")
await res.edit_text("♪ Group Music Bot ♪=🎶 Playing.....")
chat_id = message_.chat.id
que[chat_id] = []
qeue = que.get(message_.chat.id)
Expand Down
16 changes: 11 additions & 5 deletions handlers/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,28 @@
)
async def start_(client: Client, message: Message):
await message.reply_text(
f"""Hi there! I can play music in voice chats of Telegeam Groups. I have a lot of cool feature that will amaze you!\n\n♪ Do you want me to play music in your Telegram groups'voice chats? Please click the <b>\'Helpful Commands\'</b> button below to know how you can use me.\n\n♪ The Assistant must be in your group to play music in the voice chat of your group.\n\n♪ More info & commands mentioned in the [Helpful Commands.](https://telegra.ph/Group-Music-Bot-05-03)\n\nℹ️ Please Subscribe @ZauteKm For more Info.\n\n <b>Hit /help list of available Commands.</b>""",
f"""<b>Hi there! I can play music in voice chats of Telegeam Groups. I have a lot of cool feature that will amaze you!</b> \n\n♪ Do you want me to play music in your Telegram groups'voice chats? <b>Hit /help to know how you can use me.</b> \n\n♪ The Assistant must be in your group to play music in the voice chat of your group.\n\n♪ More info & commands mentioned in the [Helpful Commands.](https://telegra.ph/Group-Music-Bot-05-03)\n\nℹ️ <b>Please Subscribe @ZauteKm For more Info.</b>""",
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(
"ℹ️ Helpful Commands ℹ️", url="https://telegra.ph/Group-Music-Bot-05-03")
"➕ Add me to Your Group ➕", url="t.me/zk_GvCBot?startgroup=true")
],[
InlineKeyboardButton(
"🎙️ Group", url="https://t.me/joinchat/7gSUxv6vgQE3M2Fl"
),
InlineKeyboardButton(
"Channel 🔊", url="https://t.me/ZauteKm"
"Channel 📢", url="https://t.me/ZauteKm")
],[
InlineKeyboardButton(
"👥 Support", url="https://t.me/joinchat/TBKI3d9nCF8xMBsL"
),
InlineKeyboardButton(
"Feedback 💭", url="https://t.me/ZauteBot"
)
],[
InlineKeyboardButton(
"⚜️ YouTube Channel ⚜️", url="https://youtube.com/c/MizoHelpDesK"
"🔰 Music Source Code 🔰", url="https://githup.com/ZauteKm/GroupMusicBot-v2"
)]
]
),
Expand All @@ -60,7 +66,7 @@ async def start_(client: Client, message: Message):
)
async def start(client: Client, message: Message):
await message.reply_text(
"💁🏻‍♂️ Do you want to search for a YouTube video?",
"💁🏻‍♂️ <b>Do you want to search for a YouTube video?</b>",
reply_markup=InlineKeyboardMarkup(
[
[
Expand Down