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
the build was successful
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user