Update aiogram 3 template

This commit is contained in:
dj
2026-05-29 09:44:39 +03:00
parent e144cb1424
commit 2eced5dc4f
43 changed files with 1877 additions and 1252 deletions
+2 -2
View File
@@ -11,12 +11,12 @@ def menu_frep(user_id: int) -> ReplyKeyboardMarkup:
keyboard = ReplyKeyboardBuilder()
keyboard.row(
rkb("User button"),
rkb("Пользовательское меню"),
)
if user_id in get_admins():
keyboard.row(
rkb("Admin button"),
rkb("Админ-меню"),
)
return keyboard.as_markup(resize_keyboard=True)