diff --git a/BotTemplate/pom.xml b/BotTemplate/pom.xml index 2f1947e0d..2ced44de4 100644 --- a/BotTemplate/pom.xml +++ b/BotTemplate/pom.xml @@ -60,7 +60,7 @@ net.dv8tion JDA - 5.0.0-alpha.18 + 5.0.0-alpha.19 club.minnced @@ -71,13 +71,13 @@ io.github.freya022 BotCommands - 2.5.0 + 2.6.0 compile org.postgresql postgresql - 42.4.1 + 42.5.0 com.zaxxer diff --git a/BotTemplate/src/main/java/com/freya02/bot/Main.java b/BotTemplate/src/main/java/com/freya02/bot/Main.java index dbee8ad64..d0e2fdf62 100644 --- a/BotTemplate/src/main/java/com/freya02/bot/Main.java +++ b/BotTemplate/src/main/java/com/freya02/bot/Main.java @@ -10,7 +10,6 @@ import net.dv8tion.jda.api.requests.GatewayIntent; import org.slf4j.Logger; -import javax.security.auth.login.LoginException; import java.io.IOException; import java.sql.SQLException; @@ -47,7 +46,7 @@ public static void main(String[] args) { .textCommandBuilder(textCommandsBuilder -> textCommandsBuilder.addPrefix(config.getPrefix())) .setComponentManager(new DefaultComponentManager(componentsDB::getConnection)) .build(jda, "com.freya02.bot.commands"); //Registering listeners is taken care of by the lib - } catch (IOException | InterruptedException | LoginException | SQLException e) { + } catch (IOException | InterruptedException | SQLException e) { LOGGER.error("Unable to start the bot", e); System.exit(-1);