refactor(config): handle xp reduce

This commit is contained in:
Anhgelus Morhtuuzh 2025-08-06 15:35:10 +02:00
parent 51a412b32d
commit 0b93ea5daa
Signed by: anhgelus
GPG key ID: 617773CACE89052C
4 changed files with 64 additions and 46 deletions

View file

@ -192,7 +192,7 @@ func HandleXpRoleLevel(_ *discordgo.Session, i *discordgo.InteractionCreate, dat
cID := XpRoleAddRole
resp.SetMessage("Rôle à ajouter")
if data.CustomID == XpRoleEditLevel {
cID = XpRoleEditLevel
cID = XpRoleEditRole
resp.SetMessage("Rôle à modifier")
}