diff --git a/mspa/main.go b/mspa/main.go index 1c8e109..cdf2ed8 100644 --- a/mspa/main.go +++ b/mspa/main.go @@ -41,14 +41,16 @@ func process(b *tg.Broker, update tg.APIMessage) { delete(apichat, update.Chat.ChatID) broker.SendTextMessage(update.Chat, "Ok! Non ti notificherò più", &update.MessageID) } - if *(update.Text) == "!tesths" { - isok, data := getupd8("showupd8(\"009309\", \"[S] ACT 6 ACT 6 ACT 5\", 12);\r\n") - if isok { - advert(data) - } else { - broker.SendTextMessage(update.Chat, "Test fallito :/", &update.MessageID) + /* + if *(update.Text) == "!tesths" { + isok, data := getupd8("showupd8(\"009309\", \"[S] ACT 6 ACT 6 ACT 5\", 12);\r\n") + if isok { + advert(data) + } else { + broker.SendTextMessage(update.Chat, "Test fallito :/", &update.MessageID) + } } - } + */ } func advert(upd8 Upd8) {