Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed Emojis (Simplified and Clean) #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
24 changes: 12 additions & 12 deletions utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1421,13 +1421,13 @@ async def get_playlist_str():
tplaylist=Config.playlist[:25]
pl=f"Listing first 25 songs of total {len(Config.playlist)} songs.\n"
pl += f"▶️ **Playlist**: ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ\n" + "\n".join([
f"**{i}**. **🎸{x[1]}**\n 👤**Requested by:** {x[4]}"
f"**{i}**. **🎵{x[1]}**\n 👤**Requested by:** {x[4]}"
for i, x in enumerate(tplaylist)
])
tplaylist.clear()
else:
pl = f"▶️ **Playlist**: ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ\n" + "\n".join([
f"**{i}**. **🎸{x[1]}**\n 👤**Requested by:** {x[4]}\n"
f"**{i}**. **🎵{x[1]}**\n 👤**Requested by:** {x[4]}\n"
for i, x in enumerate(Config.playlist)
])
return pl
Expand Down Expand Up @@ -1487,28 +1487,28 @@ async def settings_panel():
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(f"Player Mode", callback_data='info_mode'),
InlineKeyboardButton(f"🎥 Player Mode", callback_data='info_mode'),
InlineKeyboardButton(f"{'🔂 Non Stop Playback' if Config.IS_LOOP else '▶️ Play and Leave'}", callback_data='is_loop'),
],
[
InlineKeyboardButton("🎞 Video", callback_data=f"info_video"),
InlineKeyboardButton(f"{'📺 Enabled' if Config.IS_VIDEO else '🎙 Disabled'}", callback_data='is_video'),
InlineKeyboardButton(f"{'☑️ Enabled' if Config.IS_VIDEO else '✖️ Disabled'}", callback_data='is_video'),
],
[
InlineKeyboardButton("🤴 Admin Only", callback_data=f"info_admin"),
InlineKeyboardButton(f"{'🔒 Enabled' if Config.ADMIN_ONLY else '🔓 Disabled'}", callback_data='admin_only'),
InlineKeyboardButton("🧙 Admin Only", callback_data=f"info_admin"),
InlineKeyboardButton(f"{'☑️ Enabled' if Config.ADMIN_ONLY else '✖️ Disabled'}", callback_data='admin_only'),
],
[
InlineKeyboardButton("🪶 Edit Title", callback_data=f"info_title"),
InlineKeyboardButton(f"{'️ Enabled' if Config.EDIT_TITLE else '🚫 Disabled'}", callback_data='edit_title'),
InlineKeyboardButton("🖋 Edit Title", callback_data=f"info_title"),
InlineKeyboardButton(f"{'️ Enabled' if Config.EDIT_TITLE else '✖️ Disabled'}", callback_data='edit_title'),
],
[
InlineKeyboardButton("🔀 Shuffle Mode", callback_data=f"info_shuffle"),
InlineKeyboardButton(f"{' Enabled' if Config.SHUFFLE else '🚫 Disabled'}", callback_data='set_shuffle'),
InlineKeyboardButton(f"{'☑️ Enabled' if Config.SHUFFLE else '✖️ Disabled'}", callback_data='set_shuffle'),
],
[
InlineKeyboardButton("👮 Auto Reply (PM Permit)", callback_data=f"info_reply"),
InlineKeyboardButton(f"{' Enabled' if Config.REPLY_PM else '🚫 Disabled'}", callback_data='reply_msg'),
InlineKeyboardButton("🔒 Pm Permit", callback_data=f"info_reply"),
InlineKeyboardButton(f"{'☑️ Enabled' if Config.REPLY_PM else '✖️ Disabled'}", callback_data='reply_msg'),
],
[
InlineKeyboardButton('🗑 Close', callback_data='close'),
Expand All @@ -1524,7 +1524,7 @@ async def recorder_settings():
reply_markup=InlineKeyboardMarkup(
[
[
InlineKeyboardButton(f"{' Stop Recording' if Config.IS_RECORDING else ' Start Recording'}", callback_data='record'),
InlineKeyboardButton(f"{' Stop Recording' if Config.IS_RECORDING else ' Start Recording'}", callback_data='record'),
],
[
InlineKeyboardButton(f"Record Video", callback_data='info_videorecord'),
Expand Down