LengoLabs / qbot

Qbot is an advanced, easy to setup, free, and unbranded Discord-Roblox ranking bot. If at any time during setting it up you need assistance, you can join the support server.
https://discord.gg/J47m7t4
MIT License
77 stars 138 forks source link

Add Reason for Bans to Database #120

Closed UnknownPerson3420 closed 2 years ago

UnknownPerson3420 commented 2 years ago

When a user is group banned, the reason is currently only being logged in an embed. This pull requests adds the reason to MongoDB and will return the reason for the ban when /info is run.

UnknownPerson3420 commented 2 years ago

Added API support, so /user will now return reasonForBan as well.

UnknownPerson3420 commented 2 years ago

Added to this PR:

I added a change to the log for the XP API. This will allow people to see the target of the xp when it is run. (Useful for in-game-ranking)

yogurtsyum commented 2 years ago

I feel like this PR is slightly incomplete, having reasons persist solely for bans sounds like it should be part of a bigger feature.

Due to this, I am unfortunately going to close this, but I appreciate the submission anyways as a suggestion for future updates.

phyouthcenter1 commented 2 years ago

Interesting