update
1. add makefile 2. modify dockerfile 3. add config twitch.bot_user
This commit is contained in:
@@ -25,6 +25,7 @@ type Config struct {
|
||||
SubSecret string `yaml:"sub_secret"`
|
||||
ChatHost string `yaml:"chat_host"`
|
||||
BotOauth string `yaml:"bot_oauth"`
|
||||
BotUser string `yaml:"bot_user"`
|
||||
} `yaml:"twitch"`
|
||||
Google struct {
|
||||
APIKey string `yaml:"api_key"`
|
||||
|
||||
@@ -33,7 +33,7 @@ func InitIRC() {
|
||||
ReJoin()
|
||||
|
||||
config := irc.ClientConfig{
|
||||
Nick: "mtfos",
|
||||
Nick: conf.Twitch.BotUser,
|
||||
Pass: conf.Twitch.BotOauth,
|
||||
Handler: irc.HandlerFunc(ircHandle),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user