File size: 1,674 Bytes
1594ae8
 
d1cdb27
 
1594ae8
 
7ef6cc2
d1cdb27
 
7ef6cc2
 
 
b93b9aa
7ef6cc2
 
 
 
 
 
 
 
2b7f4fa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d1cdb27
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from pyrogram import *
from pyrogram.types import *
from akn.langs import transdev
from akn.utils.database import db

@Client.on_message(filters.command("help"))
async def arzhelp_command(_, message):
    user_data = await db.alldl_bot.find_one({"user_id": message.from_user.id})
    lang = user_data.get("language", "en") if user_data else "en"
    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")
        ],
        [
            InlineKeyboardButton("πŸ“₯ Downloader", callback_data="rhelp_downloader"),
        ],
        [  
            InlineKeyboardButton("πŸ“Š Stats", callback_data="rhelp_stats")
        ],
        [
            InlineKeyboardButton("πŸ”’ Force Subscribe", callback_data="rhelp_forcesub"),
            InlineKeyboardButton("πŸ›‘οΈ Blacklist", callback_data="rhelp_blacklist")
        ],
        [
            InlineKeyboardButton("βš™οΈ Bot Settings", callback_data="rhelp_botsettings"),
        ],
        [
            InlineKeyboardButton(transdev.get("buttons.help_close", lang=lang), callback_data="cclose"),
        ]
    ])
    
    await message.reply(
        "**Admin Help Menu**\nChoose a category:",
        reply_markup=keyboard
    )