1
0

fix account saving?

This commit is contained in:
Lee
2024-12-17 07:14:46 +00:00
parent 2ec1b25611
commit e3af12c5fa
6 changed files with 6 additions and 44 deletions

View File

@ -3,12 +3,10 @@ package cc.fascinated.vote;
import cc.fascinated.account.Account;
import cc.fascinated.bot.DiscordBot;
import cc.fascinated.bot.DiscordChannel;
import cc.fascinated.command.CommandManager;
import cc.fascinated.config.Lang;
import cc.fascinated.playercolor.PlayerColorProfile;
import cc.fascinated.utils.Manager;
import cc.fascinated.utils.MessageUtils;
import cc.fascinated.vote.command.VoteStatsCommand;
import com.vexsoftware.votifier.model.VotifierEvent;
import net.dv8tion.jda.api.EmbedBuilder;
@ -16,10 +14,6 @@ import java.awt.*;
public class VoteManager extends Manager {
public VoteManager() {
CommandManager.registerCommand(new VoteStatsCommand());
}
@Override
public void onVote(Account account, VotifierEvent event) {
VoteProfile voteProfile = account.getVoteProfile();