fix for no discord

This commit is contained in:
Chayapak 2024-10-07 12:23:56 +07:00
parent 361ad45ca0
commit 39477e82c4

View file

@ -226,7 +226,7 @@ public class Main {
bot.stop();
}
jda.shutdownNow();
if (jda != null) jda.shutdownNow();
if (discordEnabled) {
for (int i = 0; i < 150; i++) {