Closed InternalCosmos closed 1 year ago
Not sure why you're catching an error just to raise it...but the bonus
parameter in award_xp
is incorrect, please refer to the documentation. When you raise
the DiscordLevelingSystemError
, it is missing the message
parameter.
Other than that, I tested your code and it works fine for me (I made the mentioned corrections above before I tested the code).
Oh wow, I'm blind. Didn't even notice I was missing the .Bonus. Thanks for the help!
Describe the bug For some reason, award_xp isn't putting the user into the database or giving experience even if I use add_record to put them in.
To Reproduce Minimal code to reproduce the bug/error I have written the bare minimum to get a bot running with this code, as this is how I have my bot written.
Traceback if any
Required Checklist
Version Info What's the exact version of discordLevelingSystem/discord.py are you using?