From f215e00bb6580edb00c00445a3b259b26c38e56c Mon Sep 17 00:00:00 2001 From: Lain Iwakura Date: Sat, 12 Jul 2025 01:19:28 +0300 Subject: [PATCH] upd --- main.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.go b/main.go index 30ba279..cfcd0f2 100644 --- a/main.go +++ b/main.go @@ -65,6 +65,12 @@ func wsHandler(w http.ResponseWriter, r *http.Request) { } else if buffer == "whoareyou" { conn.WriteJSON(map[string]string{"action": "redirect", "url": "https://t.me/systemxplore"}) buffer = "" + } else if buffer == "answer" { + conn.WriteJSON(map[string]string{"action": "show_message", "message": "it must be easy for you, isn't that right?"}) + buffer = "" + } else if buffer == "answers" { + conn.WriteJSON(map[string]string{"action": "show_message", "message": "it must be easy for you, isn't that right?"}) + buffer = "" } } }