forked from Fascinated/Bat
add feature toggling
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package cc.fascinated.bat.model;
|
||||
|
||||
import cc.fascinated.bat.common.ProfileHolder;
|
||||
import cc.fascinated.bat.features.FeatureProfile;
|
||||
import cc.fascinated.bat.features.namehistory.profile.guild.NameHistoryProfile;
|
||||
import cc.fascinated.bat.service.DiscordService;
|
||||
import lombok.*;
|
||||
@ -75,6 +76,15 @@ public class BatGuild extends ProfileHolder {
|
||||
return getProfile(NameHistoryProfile.class);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the feature profile
|
||||
*
|
||||
* @return the feature profile
|
||||
*/
|
||||
public FeatureProfile getFeatureProfile() {
|
||||
return getProfile(FeatureProfile.class);
|
||||
}
|
||||
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
@Setter
|
||||
|
Reference in New Issue
Block a user