File size: 3,068 Bytes
80287e2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
from typing import Union
from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup
from Devine import app

def help_pannel(_, START: Union[bool, int] = None):
    first = [InlineKeyboardButton(text=_["CLOSE_BUTTON"], callback_data=f"close")]
    second = [
        InlineKeyboardButton(
            text=_["BACK_BUTTON"],
            callback_data=f"settingsback_helper",
        ),
    ]
    mark = second if START else first
    upl = InlineKeyboardMarkup(
        [
            [
                InlineKeyboardButton(
                    text="ᴀᴅᴍɪɴ",
                    callback_data="help_callback hb1",
                ),
                InlineKeyboardButton(
                    text="ᴀᴜᴛʜ",
                    callback_data="help_callback hb2",
                ),
                InlineKeyboardButton(
                    text="ʙʀᴏᴀᴅᴄᴀsᴛ",
                    callback_data="help_callback hb3",
                ),
            ],
            [
                InlineKeyboardButton(
                    text="ʙʟ-ᴄʜᴀᴛ",
                    callback_data="help_callback hb4",
                ),
                InlineKeyboardButton(
                    text="ʙʟ-ᴜsᴇʀ",
                    callback_data="help_callback hb5",
                ),
                InlineKeyboardButton(
                    text="ᴄ-ᴘʟᴀʏ",
                    callback_data="help_callback hb6",
                ),
            ],
            [
                InlineKeyboardButton(
                    text="ʟᴏᴏᴘ",
                    callback_data="help_callback hb8",
                ),
                InlineKeyboardButton(
                    text="ᴍᴀɪɴᴛᴇɴᴀɴᴄᴇ",
                    callback_data="help_callback hb9",
                ),
                InlineKeyboardButton(
                    text="ᴘʟᴀʏ",
                    callback_data="help_callback hb11",
                ),
            ],
            [
                InlineKeyboardButton(
                    text="sʜᴜғғʟᴇ",
                    callback_data="help_callback hb12",
                ),
                InlineKeyboardButton(
                    text="sᴇᴇᴋ",
                    callback_data="help_callback hb13",
                ),
                InlineKeyboardButton(
                    text="sᴘᴇᴇᴅ",
                    callback_data="help_callback hb15",
                ),
            ],
            mark,
        ]
    )
    return upl

def help_back_markup(_):
    upl = InlineKeyboardMarkup(
        [
            [
                InlineKeyboardButton(
                    text=_["BACK_BUTTON"],
                    callback_data=f"settings_back_helper",
                ),
            ]
        ]
    )
    return upl

def private_help_panel(_):
    buttons = [
        [
            InlineKeyboardButton(
                text="ʜᴇʟᴘ & ᴄᴏᴍᴍᴀɴᴅs",
                url=f"https://t.me/{app.username}?start=help",
            ),
        ],
    ]
    return buttons