fix tribute convertation

This commit is contained in:
Vladless
2026-01-21 20:47:41 +03:00
parent 3eb3fd229e
commit 2eeccf99ee
4 changed files with 10 additions and 0 deletions
+10
View File
@@ -83,11 +83,21 @@ def build_module_menu_kb(name: str, page: int) -> InlineKeyboardMarkup:
callback_data=AdminPanelCallback(action=f"module_update__{name}", page=page).pack(),
)
builder.button(
text="⬆️ Загрузить settings.py",
callback_data=AdminPanelCallback(action="module_upload_settings", page=page).pack(),
)
builder.button(
text="⬆️ Загрузить texts.py",
callback_data=AdminPanelCallback(action="module_upload_texts", page=page).pack(),
)
builder.row(
InlineKeyboardButton(
text="⬅️ К списку",
callback_data=AdminPanelCallback(action="modules", page=page).pack(),
)
)
builder.adjust(1)
return builder.as_markup()