Defxult / discordLevelingSystem

A library to implement a leveling system into a discord bot. Contains features such as XP, level, ranks, and role awards.
MIT License
91 stars 17 forks source link

Level per XP #6

Closed WarnerDev closed 3 years ago

WarnerDev commented 3 years ago

Hello ! I just wanted to know how do I set a maximum xp for each level? for example 100 XP for 1 Level

Defxult commented 3 years ago

Changing that via the library isn't supported because that's not something MEE6 does. It is possible though. You'd have to go into levels_xp_needed.py and change all values in the LEVELS_AND_XP dictionary and set a maximum xp for each level to what you'd like that way. IIRC, there's nothing hard coded when it comes to LEVELS_AND_XP, so changing the values in that dictionary shouldn't cause any issues.