remove caching until i can find a good solution

This commit is contained in:
Lee
2024-06-26 16:17:57 +01:00
parent 805da78cad
commit 4d891e1825
13 changed files with 27 additions and 32 deletions

View File

@ -6,6 +6,7 @@ import lombok.Getter;
import lombok.Setter;
import net.dv8tion.jda.api.entities.Role;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
@ -13,7 +14,7 @@ import java.util.List;
* @author Fascinated (fascinated7)
*/
@Setter @Getter
public class AutoRoleProfile extends Profile {
public class AutoRoleProfile extends Profile implements Serializable {
private static final int DEFAULT_MAX_ROLES = 10;
/**

View File

@ -9,6 +9,7 @@ import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.User;
import net.dv8tion.jda.api.entities.channel.concrete.TextChannel;
import java.io.Serializable;
import java.util.*;
/**
@ -16,7 +17,7 @@ import java.util.*;
*/
@Getter
@Setter
public class BirthdayProfile extends Profile {
public class BirthdayProfile extends Profile implements Serializable {
private static final String DEFAULT_MESSAGE = "Happy Birthday {user} :tada: :birthday: You are now {age} years old!";
/**

View File

@ -6,11 +6,13 @@ import lombok.Getter;
import lombok.Setter;
import net.dv8tion.jda.api.entities.channel.concrete.TextChannel;
import java.io.Serializable;
/**
* @author Fascinated (fascinated7)
*/
@Getter @Setter
public class GuildNumberOneScoreFeedProfile extends Profile {
public class GuildNumberOneScoreFeedProfile extends Profile implements Serializable {
/**
* The channel ID of the score feed
*/

View File

@ -6,6 +6,7 @@ import lombok.Getter;
import lombok.Setter;
import net.dv8tion.jda.api.entities.channel.concrete.TextChannel;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
@ -13,7 +14,7 @@ import java.util.List;
* @author Fascinated (fascinated7)
*/
@Getter @Setter
public class GuildUserScoreFeedProfile extends Profile {
public class GuildUserScoreFeedProfile extends Profile implements Serializable {
/**
* The channel ID of the score feed
*/

View File

@ -4,11 +4,13 @@ import cc.fascinated.bat.common.Profile;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
/**
* @author Fascinated (fascinated7)
*/
@Setter @Getter
public class UserScoreSaberProfile extends Profile {
public class UserScoreSaberProfile extends Profile implements Serializable {
/**
* The Account ID of the ScoreSaber profile
*/