BugFix + Disabling von DST Tropical ModServer

main
Alex 5 months ago
parent e7af0a9e0a
commit 055fe860e7

@ -221,9 +221,19 @@ dont_starve_menu = [
],
[
{"text": "Don't Starve weirdly at Sanders (Modded)", "callback_data": "dswas_sanders"},
]#,
#[
# {"text": "Don't Starve tropical at Sanders (Modded)", "callback_data": "dstas_sanders"},
#]
]
dst_vanilla_menu = [
[
{"text": "<- Zurück", "callback_data": "dst_vanilla_back"}
],
[
{"text": "Don't Starve tropical at Sanders (Modded)", "callback_data": "dstas_sanders"},
{"text": "Start", "callback_data": "dst_vanilla_start"},
{"text": "Stop", "callback_data": "dst_vanilla_stop"}
]
]
@ -237,15 +247,15 @@ dswas_menu = [
]
]
dstas_menu = [
[
{"text": "<- Zurück", "callback_data": "dstas_back"}
],
[
{"text": "Start", "callback_data": "dstas_start"},
{"text": "Stop", "callback_data": "dstas_stop"}
]
]
#dstas_menu = [
# [
# {"text": "<- Zurück", "callback_data": "dstas_back"}
# ],
# [
# {"text": "Start", "callback_data": "dstas_start"},
# {"text": "Stop", "callback_data": "dstas_stop"}
# ]
#]
ragnarok_online_menu = [
[
@ -700,16 +710,17 @@ async def handle_callback(update: Update, context: ContextTypes.DEFAULT_TYPE) ->
await query.message.reply_text(f"{msg}")
case "dswas_back":
await query.message.reply_text("Wähle einen Don't Starve Together Server:", reply_markup=InlineKeyboardMarkup(dont_starve_menu))
case "dstas_sanders":
await query.message.reply_text("Wähle einen Aktion für den Dont Starve tropical Dont Sanders Server:", reply_markup=InlineKeyboardMarkup(dstas_menu))
case "dstas_start":
msg = start_gameserver("dstas_sanders")
await query.message.reply_text(f"{msg}")
case "dstas_stop":
msg = stop_gameserver("dstas_sanders")
await query.message.reply_text(f"{msg}")
case "dstas_back":
await query.message.reply_text("Wähle einen Don't Starve Together Server:", reply_markup=InlineKeyboardMarkup(dont_starve_menu))
# Erstmal Auf eis gelegt : Dont Starve tropical at Sanders -> Zu viel Aufwand für zuwenig Interesse (Bei bedarf wird nachgezogen)
#case "dstas_sanders":
# await query.message.reply_text("Wähle einen Aktion für den Dont Starve tropical Dont Sanders Server:", reply_markup=InlineKeyboardMarkup(dstas_menu))
#case "dstas_start":
# msg = start_gameserver("dstas_sanders")
# await query.message.reply_text(f"{msg}")
#case "dstas_stop":
# msg = stop_gameserver("dstas_sanders")
# await query.message.reply_text(f"{msg}")
#case "dstas_back":
# await query.message.reply_text("Wähle einen Don't Starve Together Server:", reply_markup=InlineKeyboardMarkup(dont_starve_menu))
# Ragnarok Online Server
case "ro_start":
msg = "Not Implemented yet"

Loading…
Cancel
Save