This commit is contained in:
Hamcha 2017-04-20 11:48:07 +02:00
parent 9eb9cdd008
commit 4d06d56d96
2 changed files with 6 additions and 5 deletions

View file

@ -43,10 +43,11 @@ var mods = map[string]Mod{
OnInit: initproverbio, OnInit: initproverbio,
OnMessage: proverbio, OnMessage: proverbio,
}, },
/*
"talk": { "talk": {
OnInit: inittalk, OnInit: inittalk,
OnMessage: talk, OnMessage: talk,
}, },*/
"stt": { "stt": {
OnInit: initstt, OnInit: initstt,
OnMessage: stt, OnMessage: stt,

View file

@ -33,7 +33,7 @@ func stt(broker *tg.Broker, update tg.APIMessage) {
} }
if update.Voice.Duration > 20 { 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 return
} }