add support for RemnaWave

This commit is contained in:
Vladless
2025-04-10 13:09:10 +03:00
parent e71de5f3cf
commit cd3b55271a
24 changed files with 1383 additions and 1015 deletions
+14
View File
@@ -130,3 +130,17 @@ def build_sync_cluster_kb(cluster_servers: list, cluster_name: str) -> InlineKey
builder.row(build_admin_back_btn("clusters"))
return builder.as_markup()
def build_panel_type_kb() -> InlineKeyboardMarkup:
builder = InlineKeyboardBuilder()
builder.button(
text="🌐 3X-UI",
callback_data=AdminClusterCallback(action="panel_3xui").pack()
)
builder.button(
text="🌀 Remnawave",
callback_data=AdminClusterCallback(action="panel_remnawave").pack()
)
builder.row(build_admin_back_btn("clusters"))
return builder.as_markup()