Skip to content

Commit

Permalink
update twitch notification to https
Browse files Browse the repository at this point in the history
  • Loading branch information
bcambl committed Oct 30, 2020
1 parent 85219c6 commit 5165d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/twitch.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ func (c *Controller) updateLiveStatus(streams []StreamData) error {
if strings.ToLower(s.UserName) == strings.ToLower(p.TwitchStream) {
if !p.IsTwitchLive() {
c.setTwitchLive(p, s.Type)
streamLink := fmt.Sprintf("http://twitch.tv/%s", p.TwitchStream)
streamLink := fmt.Sprintf("https://twitch.tv/%s", p.TwitchStream)
notification := fmt.Sprintf(":movie_camera: %s started a public stream on twitch!\ntitle: %s\nwatch now: `%s`", p.Name, s.Title, streamLink)
c.setTwitchNotification(p, notification)
}
Expand Down

0 comments on commit 5165d9f

Please sign in to comment.