Closed MineKing9534 closed 8 months ago
You can merge this. I thought about the upsert problem again and I don't think it will cause problems here. I'm working on a fix in JavaUtils but this may take a while because it is rather cpmplicated to find a solution that can handle all edge cases.
Checklist
Description
This improves badges (currently known as decorations) to support roles. This also adds new list command to the command that allows to show users with a badge an badges of a user. Because this required a feature of a newer JavaUtils version, JavaUtils was updated to the current version.
Migration Guide
Files
Because decorations were renamed to badges (The reason for this is that everyone always called then badges), run environments have to be updated as well:
config
(Seerun_template/config
)decorations
tobadges
Database
Commands
On the discord we have to grant the contributor badge to the contributor role and the booster badge to the booster role