feat(reducer): role update on new level

This commit is contained in:
Anhgelus Morhtuuzh 2024-04-16 15:23:15 +02:00
parent c3dc81bd29
commit ef39c156f9
No known key found for this signature in database
GPG key ID: CF4550297832A29F
4 changed files with 32 additions and 8 deletions

View file

@ -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 {