1. add makefile
2. modify dockerfile
3. add config twitch.bot_user
This commit is contained in:
Jay
2018-09-20 20:35:04 +08:00
parent 116c43b0cb
commit 8a4b11f92a
6 changed files with 16 additions and 7 deletions
+1
View File
@@ -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"`
+1 -1
View File
@@ -33,7 +33,7 @@ func InitIRC() {
ReJoin()
config := irc.ClientConfig{
Nick: "mtfos",
Nick: conf.Twitch.BotUser,
Pass: conf.Twitch.BotOauth,
Handler: irc.HandlerFunc(ircHandle),
}