diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-04-15 19:46:25 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-04-15 19:46:25 +0200 |
| commit | d673c055d26b9e3e56d136864946c7dbcd271426 (patch) | |
| tree | 08753a6074915c58ace1c06ae03b426abb9cb730 /commands | |
| parent | 5655170779702fb8e390ab948bee7cff1f3fde87 (diff) | |
fix(command): (again) bad xp shown for /rank in prochain niveau
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/rank.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/rank.go b/commands/rank.go index fe05ba8..d056de1 100644 --- a/commands/rank.go +++ b/commands/rank.go @@ -51,7 +51,7 @@ func Rank(s *discordgo.Session, i *discordgo.InteractionCreate) { msg, lvl, c.XP, - nxtLvlXP-xp.XPForLevel(lvl), + nxtLvlXP-c.XP, )).Send() if err != nil { utils.SendAlert("rank.go - Sending rank", err.Error()) |
