aboutsummaryrefslogtreecommitdiff
path: root/config/xp_role.go
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-08-06 15:35:10 +0200
committerWilliam Hergès <william@herges.fr>2025-08-06 15:35:10 +0200
commit0b93ea5daaee317a45291df188af13a6fab0c481 (patch)
tree466a00d5e181c887ad879091263e73109ade3344 /config/xp_role.go
parent51a412b32d2ab690bb2bb571f9337a69aae41ac5 (diff)
refactor(config): handle xp reduce
Diffstat (limited to 'config/xp_role.go')
-rw-r--r--config/xp_role.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/xp_role.go b/config/xp_role.go
index 4a99b30..b01da27 100644
--- a/config/xp_role.go
+++ b/config/xp_role.go
@@ -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")
}