[AB-xxx] adding clearing existing roles or newly added roles if a member receives the honey pot role

This commit is contained in:
Sheldan
2025-02-27 19:20:00 +01:00
parent 1aeb3b56cb
commit 2a357cf09f
2 changed files with 40 additions and 5 deletions

View File

@@ -48,6 +48,7 @@ public class RoleServiceBean implements RoleService {
@Autowired
private MetricService metricService;
// this locking is needed, as there is an issue with concurrent role updates in discord
@Autowired
private LockByKeyService<ServerUser> roleLockService;