add stat channels feature
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m25s

This commit is contained in:
Lee
2024-07-07 06:50:25 +01:00
parent 6d98977198
commit 87a56700ec
9 changed files with 522 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import cc.fascinated.bat.features.logging.LogProfile;
import cc.fascinated.bat.features.minecraft.MinecraftProfile;
import cc.fascinated.bat.features.namehistory.profile.guild.NameHistoryProfile;
import cc.fascinated.bat.features.reminder.ReminderProfile;
import cc.fascinated.bat.features.statschannel.StatsChannelProfile;
import cc.fascinated.bat.features.welcomer.WelcomerProfile;
import cc.fascinated.bat.premium.PremiumProfile;
import cc.fascinated.bat.service.DiscordService;
@ -180,6 +181,15 @@ public class BatGuild extends ProfileHolder {
return getProfile(MinecraftProfile.class);
}
/**
* Gets the stats channel profile
*
* @return the stats channel profile
*/
public StatsChannelProfile getStatsChannelProfile() {
return getProfile(StatsChannelProfile.class);
}
/**
* Saves the user
*/