diff --git a/mods/main.go b/mods/main.go index 3d83613..09902ad 100644 --- a/mods/main.go +++ b/mods/main.go @@ -44,7 +44,7 @@ var mods = map[string]Mod{ OnMessage: proverbio, }, "talk": { - OnInit: inittalk, + OnInit: inittalk, OnMessage: talk, }, "stt": { @@ -107,7 +107,7 @@ func main() { macropath = flag.String("macropath", "macros.json", "Path to macros db (JSON)") remindpath = flag.String("remindpath", "reminders.json", "Path to reminder db (JSON)") proverbi = flag.String("proverbi", "proverbi.txt", "Path to proverbi pairs (separated by /)") - talktoken = flag.String("apiai", "", "api.ai token") + talktoken = flag.String("apiai", "@apiai.token", "api.ai token") gapifile = flag.String("gapi", "gapi.json", "Google API Service Credentials file") disable := flag.String("disable", "", "Blacklist mods (separated by comma)") enable := flag.String("enable", "", "Whitelist mods (separated by comma)")