From 5aa205ebb1dec8c8698fa14b7f510d54b17dc1a8 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Thu, 28 Oct 2021 14:39:55 +0700 Subject: [PATCH] setup --- program/admins.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/program/admins.py b/program/admins.py index ab89f7e..0dfdab6 100644 --- a/program/admins.py +++ b/program/admins.py @@ -30,14 +30,14 @@ async def skip(client, m: Message): if len(m.command) < 2: op = await skip_current_song(chat_id) if op==0: - await m.reply("`Nothing Is Playing`") + await m.reply("āŒ nothing is currently playing") elif op==1: - await m.reply("`Queue is Empty, Leaving Voice Chat...`") + await m.reply("āœ… __Queues__ is empty.\n\nā€¢ userbot leaving voice chat") else: - await m.reply(f"**Skipped ā­** \n**šŸŽ§ Now Playing** - [{op[0]}]({op[1]}) | `{op[2]}`", disable_web_page_preview=True) + await m.reply(f"ā­ **Skipped streaming.**\n\nšŸ’” **now playing:** [{op[0]}]({op[1]}) | `{op[2]}`", disable_web_page_preview=True) else: skip = m.text.split(None, 1)[1] - OP = "**Removed the following songs from Queue:-**" + OP = "šŸ—‘ **removed song from queue:**" if chat_id in QUEUE: items = [int(x) for x in skip.split(" ") if x.isdigit()] items.sort(reverse=True) @@ -61,11 +61,11 @@ async def stop(client, m: Message): try: await call_py.leave_group_call(chat_id) clear_queue(chat_id) - await m.reply("**Stopped Streaming ā¹ļø**") + await m.reply("āœ… **streaming has ended.**") except Exception as e: - await m.reply(f"**ERROR** \n`{e}`") + await m.reply(f"**ERROR:** \n`{e}`") else: - await m.reply("`Nothing is Streaming`") + await m.reply("āŒ **nothing in streaming**") @Client.on_message(command(["pause", f"pause@{BOT_USERNAME}"]) & other_filters) @@ -75,11 +75,11 @@ async def pause(client, m: Message): if chat_id in QUEUE: try: await call_py.pause_stream(chat_id) - await m.reply("**Paused Streaming āøļø**") + await m.reply("āøļø **streaming has paused**") except Exception as e: - await m.reply(f"**ERROR** \n`{e}`") + await m.reply(f"**ERROR:** \n`{e}`") else: - await m.reply("`Nothing is Streaming`") + await m.reply("āŒ **nothing in streaming**") @Client.on_message(command(["resume", f"resume@{BOT_USERNAME}"]) & other_filters) @@ -89,8 +89,8 @@ async def resume(client, m: Message): if chat_id in QUEUE: try: await call_py.resume_stream(chat_id) - await m.reply("**Resumed Streaming ā–¶**") + await m.reply("ā–¶ **streaming has resumed.**") except Exception as e: - await m.reply(f"**ERROR** \n`{e}`") + await m.reply(f"**ERROR:** \n`{e}`") else: - await m.reply("`Nothing is Streaming`") + await m.reply("āŒ **nothing in streaming**")