From 0a6ecf6af7dc8df0a2255ddb7c022cfad6452493 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Mon, 15 Apr 2024 19:06:33 +0200 Subject: feat(xp): implements xp reducer --- commands/top.go | 1 + 1 file changed, 1 insertion(+) (limited to 'commands/top.go') diff --git a/commands/top.go b/commands/top.go index bc444a3..6df259f 100644 --- a/commands/top.go +++ b/commands/top.go @@ -9,6 +9,7 @@ import ( ) func Top(s *discordgo.Session, i *discordgo.InteractionCreate) { + xp.LastEventUpdate(xp.GetCopaing(i.User.ID, i.GuildID)) resp := utils.ResponseBuilder{C: s, I: i} err := resp.IsDeferred().Send() if err != nil { -- cgit v1.2.3