fix(command): (again) bad xp shown for /rank in prochain niveau
This commit is contained in:
parent
5655170779
commit
d673c055d2
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue