diff --git a/src/main/java/uk/co/angrybee/joe/DiscordWhitelister.java b/src/main/java/uk/co/angrybee/joe/DiscordWhitelister.java index adbcd5b..c8821da 100755 --- a/src/main/java/uk/co/angrybee/joe/DiscordWhitelister.java +++ b/src/main/java/uk/co/angrybee/joe/DiscordWhitelister.java @@ -1,7 +1,5 @@ package uk.co.angrybee.joe; -import net.dv8tion.jda.api.entities.ISnowflake; -import org.bukkit.Server; import org.bukkit.configuration.InvalidConfigurationException; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.YamlConfiguration; @@ -9,7 +7,6 @@ import org.bukkit.plugin.java.JavaPlugin; import java.io.File; import java.io.IOException; -import java.lang.reflect.Array; import java.util.*; public class DiscordWhitelister extends JavaPlugin @@ -25,8 +22,6 @@ public class DiscordWhitelister extends JavaPlugin private static FileConfiguration userList; private static FileConfiguration removedList; -// private LinkedHashMap userInfo; - private String botToken; private boolean configCreated = false; diff --git a/src/main/java/uk/co/angrybee/joe/ServerDiscordClient.java b/src/main/java/uk/co/angrybee/joe/ServerDiscordClient.java index 21c6f98..51d0381 100755 --- a/src/main/java/uk/co/angrybee/joe/ServerDiscordClient.java +++ b/src/main/java/uk/co/angrybee/joe/ServerDiscordClient.java @@ -15,14 +15,10 @@ import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; import javax.security.auth.login.LoginException; -import java.io.DataInput; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.Arrays; -import java.util.HashMap; -import java.util.LinkedHashMap; -import java.util.Map; // handles Discord interaction public class ServerDiscordClient extends ListenerAdapter