mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-01-25 03:04:50 +00:00
[AB-25] refactoring experience collection to work instantly instead of delayed job
adding level up notification for experience
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user