Skip to content

Commit

Permalink
changed style of ticket summary
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesuaheli committed Dec 9, 2023
1 parent cfb41fd commit 9d12e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/adventcalendar/midnight.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func Midnight(s *discordgo.Session) {
for _, e := range entries {
totalTickets += e.weight
}
data.Embeds[0].Description = fmt.Sprintf("__Total: %d Tickets__\nProbability per Ticket: %.2f%%\n%s", totalTickets, 100.0/float64(totalTickets), data.Embeds[0].Description)
data.Embeds[0].Description = fmt.Sprintf("__Total: %d Tickets (%d users)__\nProbability per Ticket: %.2f%%\n%s", totalTickets, len(entries), 100.0/float64(totalTickets), data.Embeds[0].Description)
}
}

Expand Down

0 comments on commit 9d12e0b

Please sign in to comment.