From 3bcf74c47d1597ba650dc5a55868f83f5f547ad7 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Sun, 8 Mar 2026 14:12:03 +0100 Subject: feat(user): leave gorm --- commands/top.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/top.go') diff --git a/commands/top.go b/commands/top.go index 82183a1..db44dbd 100644 --- a/commands/top.go +++ b/commands/top.go @@ -59,7 +59,7 @@ func Top(ctx context.Context, dg bot.Session, i *interaction.ApplicationCommand) func genTopsMessage(tops []user.CopaingCached) string { msg := "" for i, c := range tops { - msg += fmt.Sprintf("%d. **<@%d>** - niveau %d", i+1, c.DiscordID, exp.Level(c.XP)) + msg += fmt.Sprintf("%d. **<@%d>** - niveau %d", i+1, c.ID, exp.Level(c.XP)) if i != len(tops)-1 { msg += "\n" } -- cgit v1.2.3