You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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).
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?
The text was updated successfully, but these errors were encountered: