feat(xp): implements xp reducer
This commit is contained in:
parent
9de1f3f90b
commit
0a6ecf6af7
4 changed files with 18 additions and 8 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue