diff --git a/program/music.py b/program/music.py index 87911de..bc0969a 100644 --- a/program/music.py +++ b/program/music.py @@ -71,7 +71,7 @@ async def play(c: Client, m: Message): a = await c.get_chat_member(chat_id, aing.id) if a.status != "administrator": await m.reply_text( - f"šŸ’” To use me, I need to be an **Administrator** with the following **permissions**:\n\nĀ» āŒ __Delete messages__\nĀ» āŒ __Restrict users__\nĀ» āŒ __Add users__\nĀ» āŒ __Manage video chat__\n\nData is **updated** automatically after you **promote me**" + f"šŸ’” To use me, I need to be an **Administrator** with the following **permissions**:\n\nĀ» āŒ __Delete messages__\nĀ» āŒ __Add users__\nĀ» āŒ __Manage video chat__\n\nData is **updated** automatically after you **promote me**" ) return if not a.can_manage_voice_chats: @@ -87,9 +87,6 @@ async def play(c: Client, m: Message): if not a.can_invite_users: await m.reply_text("missing required permission:" + "\n\nĀ» āŒ __Add users__") return - if not a.can_restrict_members: - await m.reply_text("missing required permission:" + "\n\nĀ» āŒ __Restrict users__") - return try: ubot = await user.get_me() b = await c.get_chat_member(chat_id, ubot.id) @@ -142,7 +139,7 @@ async def play(c: Client, m: Message): ) else: try: - await suhu.edit("šŸ”„ **Joining Vc...**") + await suhu.edit("šŸ”„ **Joining vc...**") await call_py.join_group_call( chat_id, AudioPiped( @@ -192,7 +189,7 @@ async def play(c: Client, m: Message): ) else: try: - await suhu.edit("šŸ”„ **Joining Vc...**") + await suhu.edit("šŸ”„ **Joining vc...**") await call_py.join_group_call( chat_id, AudioPiped( @@ -243,7 +240,7 @@ async def play(c: Client, m: Message): ) else: try: - await suhu.edit("šŸ”„ **Joining Vc...**") + await suhu.edit("šŸ”„ **Joining vc...**") await call_py.join_group_call( chat_id, AudioPiped( @@ -287,7 +284,7 @@ async def stream(c: Client, m: Message): a = await c.get_chat_member(chat_id, aing.id) if a.status != "administrator": await m.reply_text( - f"šŸ’” To use me, I need to be an **Administrator** with the following **permissions**:\n\nĀ» āŒ __Delete messages__\nĀ» āŒ __Restrict users__\nĀ» āŒ __Add users__\nĀ» āŒ __Manage video chat__\n\nData is **updated** automatically after you **promote me**" + f"šŸ’” To use me, I need to be an **Administrator** with the following **permissions**:\n\nĀ» āŒ __Delete messages__\nĀ» āŒ __Add users__\nĀ» āŒ __Manage video chat__\n\nData is **updated** automatically after you **promote me**" ) return if not a.can_manage_voice_chats: @@ -303,9 +300,6 @@ async def stream(c: Client, m: Message): if not a.can_invite_users: await m.reply_text("missing required permission:" + "\n\nĀ» āŒ __Add users__") return - if not a.can_restrict_members: - await m.reply_text("missing required permission:" + "\n\nĀ» āŒ __Restrict users__") - return try: ubot = await user.get_me() b = await c.get_chat_member(chat_id, ubot.id) @@ -361,7 +355,7 @@ async def stream(c: Client, m: Message): ) else: try: - await suhu.edit("šŸ”„ **Joining Vc...**") + await suhu.edit("šŸ”„ **Joining vc...**") await call_py.join_group_call( chat_id, AudioPiped(