forked from ChomeNS/chomens-bot-java
fix that might work or might does nothing or just useless
This commit is contained in:
parent
d36aeebc96
commit
2b775ac7e4
1 changed files with 25 additions and 19 deletions
|
@ -130,6 +130,7 @@ public class Main {
|
||||||
public static void initializeBots() {
|
public static void initializeBots() {
|
||||||
alreadyStarted = true;
|
alreadyStarted = true;
|
||||||
|
|
||||||
|
try {
|
||||||
Configuration.BotOption[] botsOptions = config.bots;
|
Configuration.BotOption[] botsOptions = config.bots;
|
||||||
|
|
||||||
// idk if these should be here lol, but it is just the discord stuff
|
// idk if these should be here lol, but it is just the discord stuff
|
||||||
|
@ -153,6 +154,11 @@ public class Main {
|
||||||
|
|
||||||
// fard
|
// fard
|
||||||
new ConsolePlugin(bots, config, jda);
|
new ConsolePlugin(bots, config, jda);
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
|
||||||
|
System.exit(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void checkInternet () throws IOException {
|
private static void checkInternet () throws IOException {
|
||||||
|
|
Loading…
Reference in a new issue