From 9d12e0b2e18e29d1b6f72c6372e5487be44cb2db Mon Sep 17 00:00:00 2001 From: Kesuaheli Date: Sat, 9 Dec 2023 01:19:34 +0100 Subject: [PATCH] changed style of ticket summary --- modules/adventcalendar/midnight.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/adventcalendar/midnight.go b/modules/adventcalendar/midnight.go index e9ee636..2b9fa0a 100644 --- a/modules/adventcalendar/midnight.go +++ b/modules/adventcalendar/midnight.go @@ -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) } }