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,
OnMessage: proverbio,
},
"talk": {
OnInit: inittalk,
OnMessage: talk,
},
/*
"talk": {
OnInit: inittalk,
OnMessage: talk,
},*/
"stt": {
OnInit: initstt,
OnMessage: stt,

View file

@ -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
}