Skip to content

Commit ad8e55e

Browse files
committed
fix: bot not reconnecting
1 parent e8cc5eb commit ad8e55e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ func runTokenValidator(ctx context.Context, cancelFn context.CancelFunc, cfg *co
4040
bot.TwitchClient.Disconnect()
4141
bot.TwitchClient = twitch.NewClient(cfg.Login, "oauth:"+cfg.TwitchToken)
4242
bot.BindClientFunctions()
43+
bot.Connect()
4344
}
4445
}
4546

0 commit comments

Comments
 (0)