Fix typo leftover from local testing

This commit is contained in:
2023-12-04 10:21:12 -06:00
parent 53393830ba
commit f916038a16

View File

@ -192,7 +192,7 @@ func main() {
completionTime := time.Unix(part.GotStarAt, 0).In(ChicagoTimeZone).Format("3:04:05pm") completionTime := time.Unix(part.GotStarAt, 0).In(ChicagoTimeZone).Format("3:04:05pm")
rank := getCompletionRank(&leaderboard, &member, dayIdx, partNum) + 1 rank := getCompletionRank(&leaderboard, &member, dayIdx, partNum) + 1
ordinal := getOrdinal(rank) ordinal := getOrdinal(rank)
overallRank := getLeaderboardRank(&lastLeaderboard, &member) + 1 overallRank := getLeaderboardRank(&leaderboard, &member) + 1
err := sendNotification(fmt.Sprintf( err := sendNotification(fmt.Sprintf(
":tada: %s completed day %d part %d %d%s on [the leaderboard](https://adventofcode.com/%s/leaderboard/private/view/%s) at %s, and now has %d star%s on the year, good for %d%s place overall. :tada:", ":tada: %s completed day %d part %d %d%s on [the leaderboard](https://adventofcode.com/%s/leaderboard/private/view/%s) at %s, and now has %d star%s on the year, good for %d%s place overall. :tada:",
member.Name, member.Name,