Return value was never used anyway

This commit is contained in:
floppydiskette 2024-08-26 21:09:53 +01:00
parent 7868519172
commit 8eb4ca32a1
Signed by: fwoppydwisk
SSH key fingerprint: SHA256:Hqn452XQ1ETzUt/FthJu6+OFkS4NBxCv5VQSEvuk7CE

View file

@ -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) {