Cleaned imports

This commit is contained in:
Joel 2021-05-25 13:50:14 +02:00
parent bca79b0e27
commit e68558cef7
2 changed files with 8 additions and 3 deletions

@ -2,15 +2,19 @@ package zone.themcgamer.discordbot;
import com.jagrosh.jdautilities.command.CommandClientBuilder;
import lombok.Getter;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.JDABuilder;
import net.dv8tion.jda.api.OnlineStatus;
import net.dv8tion.jda.api.entities.Activity;
import net.dv8tion.jda.api.entities.GuildChannel;
import net.dv8tion.jda.api.entities.TextChannel;
import net.dv8tion.jda.api.requests.GatewayIntent;
import zone.themcgamer.discordbot.command.impl.*;
import zone.themcgamer.discordbot.events.GuildsListener;
import zone.themcgamer.discordbot.events.MainGuildListener;
import zone.themcgamer.discordbot.utilities.EmbedUtils;
import zone.themcgamer.discordbot.utilities.MessageUtils;
import javax.security.auth.login.LoginException;
import java.util.concurrent.Executors;
@ -60,6 +64,10 @@ public class MGZBot {
}
System.out.println("Done (" + (System.currentTimeMillis() - time) + ")! For help, type \"help\" or \"?\"\n");
EmbedBuilder embedBuilder = EmbedUtils.successEmbed();
embedBuilder.setTitle("Startup");
embedBuilder.setDescription("The bot was started in "+ (System.currentTimeMillis() - time) + "ms!");
MessageUtils.sendLogMessage(embedBuilder);
}
public static void main(String[] args) {

@ -1,12 +1,9 @@
package zone.themcgamer.skyblock;
import com.bgsoftware.superiorskyblock.api.SuperiorSkyblock;
import com.bgsoftware.superiorskyblock.api.SuperiorSkyblockAPI;
import com.bgsoftware.superiorskyblock.api.handlers.GridManager;
import com.bgsoftware.superiorskyblock.api.wrappers.SuperiorPlayer;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.World;
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitRunnable;
import zone.themcgamer.core.chat.ChatManager;