File size: 820 Bytes
1594ae8 7ef6cc2 b93b9aa 7ef6cc2 1594ae8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
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
)
|