forked from ChomeNS/chomens-bot-java
fix for no discord
This commit is contained in:
parent
361ad45ca0
commit
39477e82c4
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ public class Main {
|
||||||
bot.stop();
|
bot.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
jda.shutdownNow();
|
if (jda != null) jda.shutdownNow();
|
||||||
|
|
||||||
if (discordEnabled) {
|
if (discordEnabled) {
|
||||||
for (int i = 0; i < 150; i++) {
|
for (int i = 0; i < 150; i++) {
|
||||||
|
|
Loading…
Reference in a new issue