This commit is contained in:
Lain Iwakura 2025-07-12 01:19:28 +03:00
parent 08800326da
commit f215e00bb6
No known key found for this signature in database
GPG Key ID: C7C18257F2ADC6F8

View File

@ -65,6 +65,12 @@ func wsHandler(w http.ResponseWriter, r *http.Request) {
} else if buffer == "whoareyou" { } else if buffer == "whoareyou" {
conn.WriteJSON(map[string]string{"action": "redirect", "url": "https://t.me/systemxplore"}) conn.WriteJSON(map[string]string{"action": "redirect", "url": "https://t.me/systemxplore"})
buffer = "" 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 = ""
} }
} }
} }