добавление кнопки

- добавление кнопки смены названия сервера
This commit is contained in:
Capybara-z
2025-04-01 23:34:12 +03:00
committed by GitHub
parent 73ba081779
commit 4cfbcd8590
+1
View File
@@ -15,6 +15,7 @@ def build_manage_server_kb(server_name: str, cluster_name: str) -> InlineKeyboar
builder = InlineKeyboardBuilder()
builder.button(text="🗑️ Удалить", callback_data=AdminServerCallback(action="delete", data=server_name).pack())
builder.button(text="✏️ Сменить название", callback_data=AdminServerCallback(action="rename", data=server_name).pack())
builder.button(text=BACK, callback_data=AdminClusterCallback(action="manage", data=cluster_name).pack())
builder.adjust(1)
return builder.as_markup()