From 8eb4ca32a1276328988b3bb19a3080b801e4ebf5 Mon Sep 17 00:00:00 2001 From: floppydiskette Date: Mon, 26 Aug 2024 21:09:53 +0100 Subject: [PATCH] Return value was never used anyway --- src/main/java/net/hypr/doki/Doki.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/hypr/doki/Doki.java b/src/main/java/net/hypr/doki/Doki.java index 5c05e12..c0251fb 100644 --- a/src/main/java/net/hypr/doki/Doki.java +++ b/src/main/java/net/hypr/doki/Doki.java @@ -29,7 +29,7 @@ public class Doki { public static String getPrefix() { return config.getPrefix(); } public static BasicDataSource getDataSource() { return dataSource; } - public static Doki start() throws IOException, InterruptedException { + public static void start() throws IOException, InterruptedException { config = Config.readConfig(); Config.DBConfig dbConfig = config.getDbConfig(); @@ -56,7 +56,7 @@ public class Doki { LOGGER.info("\t- {} ({})", guild.getName(), guild.getId()); } - return new Doki(jda, config); + new Doki(jda, config); } public static void main(String[] args) {