bot: Bot setup and teardown done: Connect w/retry, join/leave, full config, and logging.
This commit is contained in:
@@ -10,10 +10,14 @@ import (
|
||||
// Config represents the logbot's configuration.
|
||||
type Config struct {
|
||||
Bot struct {
|
||||
Nicks []string `json:"nicks"`
|
||||
Server string `json:"server"`
|
||||
CommandChannel string `json:"commandChannel"`
|
||||
Nicks []string `json:"nicks"`
|
||||
User string `json:"user"`
|
||||
RealName string `json:"realName"`
|
||||
} `json:"bot"`
|
||||
Server struct {
|
||||
Address string `json:"server"`
|
||||
SSL bool `json:"ssl"`
|
||||
}
|
||||
API struct {
|
||||
Endpoint string `json:"endpoint"`
|
||||
Username string `json:"username"`
|
||||
|
||||
Reference in New Issue
Block a user