A warning is not an error, silly!
This commit is contained in:
parent
c514fb4678
commit
a69670a526
1 changed files with 2 additions and 1 deletions
|
@ -190,9 +190,10 @@ func talk(broker *tg.Broker, update tg.APIMessage) {
|
||||||
if len(result.Alternatives) > 0 {
|
if len(result.Alternatives) > 0 {
|
||||||
reply += "\nAlternativamente:\n - " + strings.Join(result.Alternatives, "\n - ")
|
reply += "\nAlternativamente:\n - " + strings.Join(result.Alternatives, "\n - ")
|
||||||
}
|
}
|
||||||
|
case "input.unknown":
|
||||||
|
// NOOP
|
||||||
default:
|
default:
|
||||||
log.Printf("[talk] Unknown action called:\n%s\n", record.Result.Action)
|
log.Printf("[talk] Unknown action called:\n%s\n", record.Result.Action)
|
||||||
broker.SendTextMessage(update.Chat, "<b>ERRORE!</b> @hamcha controlla la console!", &update.MessageID)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue