Return value was never used anyway
This commit is contained in:
parent
7868519172
commit
8eb4ca32a1
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue