This commit is contained in:
Daniel Mason 2025-02-11 21:26:41 +13:00
parent e53abac47c
commit 09bda750d6
Signed by: idanoo
GPG key ID: 387387CDBC02F132

View file

@ -139,6 +139,7 @@ func showTopUsers(s *discordgo.Session, i *discordgo.InteractionCreate) {
msg := "Users who use the most emojis:\n"
for k, v := range top {
slog.Error("Error getting top emojis for guild user", "emoji_id", k, "count", v)
topUsers, err := b.Db.GetTopEmojisForGuildUser(i.GuildID, k, 3)
if err != nil {
slog.Error("Error getting top emojis for guild user", "err", err)