none
This commit is contained in:
parent
ce1347f574
commit
611a57951b
@ -107,7 +107,8 @@ async def set_commands(_, query: CallbackQuery):
|
|||||||
reply_markup=InlineKeyboardMarkup(
|
reply_markup=InlineKeyboardMarkup(
|
||||||
[
|
[
|
||||||
[
|
[
|
||||||
InlineKeyboardButton("Admin Commands", callback_data="admin_command"),
|
InlineKeyboardButton("Admins Commands", callback_data="admin_command"),
|
||||||
|
],[
|
||||||
InlineKeyboardButton("Users Commands", callback_data="user_command"),
|
InlineKeyboardButton("Users Commands", callback_data="user_command"),
|
||||||
],[
|
],[
|
||||||
InlineKeyboardButton("Sudo Commands", callback_data="sudo_command"),
|
InlineKeyboardButton("Sudo Commands", callback_data="sudo_command"),
|
||||||
@ -176,6 +177,7 @@ async def set_admin(_, query: CallbackQuery):
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@Client.on_callback_query(filters.regex("sudo_command"))
|
@Client.on_callback_query(filters.regex("sudo_command"))
|
||||||
async def set_sudo(_, query: CallbackQuery):
|
async def set_sudo(_, query: CallbackQuery):
|
||||||
user_id = query.from_user.id
|
user_id = query.from_user.id
|
||||||
|
Loading…
Reference in New Issue
Block a user