talk: Add token file as default parameter
This commit is contained in:
parent
43ca576345
commit
c20eab1cd5
1 changed files with 2 additions and 2 deletions
|
@ -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)")
|
||||
|
|
Reference in a new issue