mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-18 21:03:11 +00:00
added command to specifically disable/experience for a user
This commit is contained in:
@@ -45,6 +45,11 @@ public class AUserExperience implements Serializable {
|
||||
*/
|
||||
private Long messageCount;
|
||||
|
||||
/**
|
||||
* Whether or not the experience gain has been disabled for this user
|
||||
*/
|
||||
private Boolean experienceGainDisabled;
|
||||
|
||||
/**
|
||||
* The {@link AExperienceLevel } which the user currently has.
|
||||
*/
|
||||
|
||||
@@ -125,4 +125,7 @@ public interface AUserExperienceService {
|
||||
* @param toExecute The {@link Consumer} which should be executed on each element of the passed list
|
||||
*/
|
||||
void executeActionOnUserExperiencesWithFeedBack(List<AUserExperience> experiences, AChannel channel, Consumer<AUserExperience> toExecute);
|
||||
|
||||
void disableExperienceForUser(AUserInAServer userInAServer);
|
||||
void enableExperienceForUser(AUserInAServer userInAServer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user