Skip to content

Commit

Permalink
(blissfest) update with 2024 lineup info
Browse files Browse the repository at this point in the history
  • Loading branch information
h3mmy committed Apr 12, 2024
1 parent 5665967 commit e7b5541
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bot/handlers/blissfest.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ func (p *BlissfestCommand) GetAppCommandHandler() func(s *discordgo.Session, i *
Title: "Blissfest",
// pending https://github.com/dustin/go-humanize/pull/92
// Content: fmt.Sprintf("%s left", humanize.Time(bsvc.GetTimeUntilStart(nil))),
Content: fmt.Sprintf("%s left", humanize.Time(*bsvc.GetStartTime())),
Content: fmt.Sprintf("blissfest starts in %s", humanize.Time(*bsvc.GetStartTime())),
}

} else {
resData = discordgo.InteractionResponseData{
Title: "Blissfest",
Content: fmt.Sprintf("%s left", humanize.Time(*bsvc.GetStartTime())),
Content: fmt.Sprintf("blissfest starts in %s", humanize.Time(*bsvc.GetStartTime())),
}
}

Expand Down
5 changes: 3 additions & 2 deletions bot/services/blissfest_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ import (
"go.uber.org/zap/zapcore"
)

var lineupImageURI = "https://www.blissfestfestival.org/wp-content/uploads/2023/04/Bliss23_LineUpIG-2-2048x2048.jpg"
// var lineupSrcUrl = "https://www.blissfestfestival.org/wp-content/uploads/2023/04/Bliss23_poster_full-8F-3-scaled-e1683260548650.jpg"
// 2023: "https://www.blissfestfestival.org/wp-content/uploads/2023/04/Bliss23_LineUpIG-2-2048x2048.jpg"
// 2024: "https://www.blissfestfestival.org/wp-content/uploads/2024/04/Bliss24_IGAnnouncement3-2048x2048.jpg"
var lineupImageURI = "https://www.blissfestfestival.org/wp-content/uploads/2024/04/Bliss24_IGAnnouncement3-2048x2048.jpg"

// var apiPrefix = "/wp-json/wp/v2"

Expand Down

1 comment on commit e7b5541

@h3mmy
Copy link
Owner Author

@h3mmy h3mmy commented on e7b5541 Apr 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related to #35

Please sign in to comment.