Skip to content
Open
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
10 changes: 5 additions & 5 deletions handlers/admins.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@admins_only
async def pause(client: Client, message: Message):
tgcalls.pytgcalls.pause_stream(message.chat.id)
await message.reply_text("**Hêllẞø†:** ⏸ Paused.")
await message.reply_text("**AlokMusic:** ⏸ Paused.")


@Client.on_message(
Expand All @@ -28,7 +28,7 @@ async def pause(client: Client, message: Message):
@admins_only
async def resume(client: Client, message: Message):
tgcalls.pytgcalls.resume_stream(message.chat.id)
await message.reply_text("**Hêllẞø†:** ▶️ Resumed.")
await message.reply_text("**AlokMusic:** ▶️ Resumed.")


@Client.on_message(
Expand All @@ -45,7 +45,7 @@ async def stop(client: Client, message: Message):
pass

tgcalls.pytgcalls.leave_group_call(message.chat.id)
await message.reply_text("**Hêllẞø†:** ⏹ Stopped.")
await message.reply_text("**AlokMusic†:** ⏹ Stopped.")


@Client.on_message(
Expand All @@ -67,7 +67,7 @@ async def skip(client: Client, message: Message):
chat_id, sira.get(chat_id)["file_path"]
)

await message.reply_text("**Hêllẞø†:** ⏩ Skipped the current song.")
await message.reply_text("**AlokMusic:** ⏩ Skipped the current song.")


@Client.on_message(
Expand All @@ -77,4 +77,4 @@ async def skip(client: Client, message: Message):
@admins_only
async def admincache(client, message: Message):
set(message.chat.id, [member.user for member in await message.chat.get_members(filter="administrators")])
await message.reply_text("**Hêllẞø†:** ❇️ Admin cache refreshed!")
await message.reply_text("**AlokMusic:** ❇️ Admin cache refreshed!")