aboutsummaryrefslogtreecommitdiff
path: root/commands/top.go
diff options
context:
space:
mode:
authorWilliam Hergès <anhgelus.morhtuuzh@proton.me>2024-04-16 15:46:52 +0200
committerGitHub <noreply@github.com>2024-04-16 15:46:52 +0200
commit6b595b8b11e9ac05302ee15ab7734e49b89594e5 (patch)
tree1bcea973dbec09ca70f0c20eaa41c29ded00d62f /commands/top.go
parentff711c918d196e60c60ad598f70d4efb89795a95 (diff)
parentb4e72dcae10265bbc1595f2e520b1407cf8e250d (diff)
Merge pull request #1 from anhgelus/feat/xp-reducer
[Feat] Add XP reducer
Diffstat (limited to 'commands/top.go')
-rw-r--r--commands/top.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/top.go b/commands/top.go
index bc444a3..c0f4dae 100644
--- a/commands/top.go
+++ b/commands/top.go
@@ -9,6 +9,7 @@ import (
)
func Top(s *discordgo.Session, i *discordgo.InteractionCreate) {
+ xp.LastEventUpdate(s, xp.GetCopaing(i.User.ID, i.GuildID))
resp := utils.ResponseBuilder{C: s, I: i}
err := resp.IsDeferred().Send()
if err != nil {