aboutsummaryrefslogtreecommitdiff
path: root/commands/top.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-04-16 15:23:15 +0200
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-04-16 15:23:15 +0200
commitef39c156f94b854796bb1c2adddfd40a5acaeca8 (patch)
treeac24922c2b02f4d17c66bfaabc16aee1f13fd7c9 /commands/top.go
parentc3dc81bd29318a4916bf8fc383a0d1a5ca90fa64 (diff)
feat(reducer): role update on new level
Diffstat (limited to 'commands/top.go')
-rw-r--r--commands/top.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/top.go b/commands/top.go
index 6df259f..c0f4dae 100644
--- a/commands/top.go
+++ b/commands/top.go
@@ -9,7 +9,7 @@ import (
)
func Top(s *discordgo.Session, i *discordgo.InteractionCreate) {
- xp.LastEventUpdate(xp.GetCopaing(i.User.ID, i.GuildID))
+ xp.LastEventUpdate(s, xp.GetCopaing(i.User.ID, i.GuildID))
resp := utils.ResponseBuilder{C: s, I: i}
err := resp.IsDeferred().Send()
if err != nil {