diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-04-15 19:06:33 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-04-15 19:06:33 +0200 |
| commit | 0a6ecf6af7dc8df0a2255ddb7c022cfad6452493 (patch) | |
| tree | f19a7c876a947b79d100780dbb730ee3fea36c59 /commands/top.go | |
| parent | 9de1f3f90b2d94215f14458a11a951cb143a8dc2 (diff) | |
feat(xp): implements xp reducer
Diffstat (limited to 'commands/top.go')
| -rw-r--r-- | commands/top.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |
