[AB-25] refactoring experience collection to work instantly instead of delayed job

adding level up notification for experience
This commit is contained in:
Sheldan
2022-11-20 15:14:43 +01:00
parent d315113395
commit 5c7b018b2a
41 changed files with 547 additions and 1736 deletions

View File

@@ -21,6 +21,14 @@ public class RoleDisplay {
.build();
}
public static RoleDisplay fromRole(Long roleId) {
return RoleDisplay
.builder()
.roleId(roleId)
.roleMention("<@&" + roleId + '>')
.build();
}
public static RoleDisplay fromARole(ARole role) {
return RoleDisplay
.builder()