Enhance user interface by adding emoji to command buttons for better visibility
This commit is contained in:
@ -2,7 +2,7 @@ from dotenv import load_dotenv
|
||||
from telebot import types
|
||||
from utils.command import *
|
||||
|
||||
@bot.message_handler(func=lambda message: is_admin(message.from_user.id) and message.text == 'Server Info')
|
||||
@bot.message_handler(func=lambda message: is_admin(message.from_user.id) and message.text == '🖥️ Server Info')
|
||||
def server_info(message):
|
||||
command = f"python3 {CLI_PATH} server-info"
|
||||
result = run_cli_command(command)
|
||||
|
||||
Reference in New Issue
Block a user