randydev's picture
fix try
b93b9aa
raw
history blame
820 Bytes
from pyrogram import *
from pyrogram.types import *
@Client.on_message(filters.command("help"))
async def arzhelp_command(_, message):
keyboard = InlineKeyboardMarkup([
[
InlineKeyboardButton("🚫 Ban", callback_data="rhelp_ban"),
InlineKeyboardButton("πŸ”‡ Mute", callback_data="rhelp_mute")
],
[
InlineKeyboardButton("πŸ‘‘ Promote", callback_data="rhelp_promote"),
InlineKeyboardButton("πŸ›‘οΈ Demote", callback_data="rhelp_demote")
],
[
InlineKeyboardButton("🧹 Clean", callback_data="rhelp_clean"),
InlineKeyboardButton("πŸ”’ Lock", callback_data="rhelp_lock")
]
])
await message.reply(
"**Admin Help Menu**\nChoose a category:",
reply_markup=keyboard
)