This commit is contained in:
djimbo
2022-08-13 09:18:51 +03:00
commit 562d7f1acf
34 changed files with 1236 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# - *- coding: utf- 8 - *-
from aiogram.utils.keyboard import ReplyKeyboardBuilder
from tgbot.data.config import get_admins
from tgbot.utils.const_functions import rkb
# Кнопки главного меню
def menu_frep(user_id):
keyboard = ReplyKeyboardBuilder(
).row(
rkb("User Inline"), rkb("User Reply"),
)
if user_id in get_admins():
keyboard.row(
rkb("Admin Inline"), rkb("Admin Reply"),
)
return keyboard.as_markup(resize_keyboard=True)