diff --git a/mods/main.go b/mods/main.go index e6b2ebe..e0f251b 100644 --- a/mods/main.go +++ b/mods/main.go @@ -43,10 +43,11 @@ var mods = map[string]Mod{ OnInit: initproverbio, OnMessage: proverbio, }, - "talk": { - OnInit: inittalk, - OnMessage: talk, - }, + /* + "talk": { + OnInit: inittalk, + OnMessage: talk, + },*/ "stt": { OnInit: initstt, OnMessage: stt, diff --git a/mods/stt.go b/mods/stt.go index 6d9c954..1e51b68 100644 --- a/mods/stt.go +++ b/mods/stt.go @@ -33,7 +33,7 @@ func stt(broker *tg.Broker, update tg.APIMessage) { } if update.Voice.Duration > 20 { - broker.SendTextMessage(update.Chat, "L'audio dura un bel po' (>20s), al momento non posso farci nulla :S", , &update.MessageID) + broker.SendTextMessage(update.Chat, "L'audio dura un bel po' (>20s), al momento non posso farci nulla :S", &update.MessageID) return }