|
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 |
|
) |
|
|