added command to specifically disable/experience for a user

This commit is contained in:
Sheldan
2020-05-17 01:24:27 +02:00
parent 59ff1f1f40
commit cf1816597c
14 changed files with 154 additions and 6 deletions

View File

@@ -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.
*/

View File

@@ -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);
}