refactor(config): handle xp reduce
This commit is contained in:
parent
51a412b32d
commit
0b93ea5daa
4 changed files with 64 additions and 46 deletions
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue