bot: Added more logging of errors and such, exit on ERROR packet and configurable autorun commands on ready and channel op join.
the build was successful

This commit is contained in:
2018-12-02 17:38:04 +01:00
parent 32b5649465
commit e68503c72e
4 changed files with 59 additions and 5 deletions
+4
View File
@@ -26,6 +26,10 @@ type Config struct {
Secret string `json:"secret"`
} `json:"key"`
} `json:"api"`
Commands struct {
OnJoinOp []string `json:"onJoinOp"`
OnReady []string `json:"onReady"`
}
}
var mutex sync.Mutex