aboutsummaryrefslogtreecommitdiff
path: root/commands/top.go
diff options
context:
space:
mode:
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..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 {