diff --git a/EssentialsDiscord/src/main/java/net/essentialsx/discord/JDADiscordService.java b/EssentialsDiscord/src/main/java/net/essentialsx/discord/JDADiscordService.java index b092ed371..dd29da17a 100644 --- a/EssentialsDiscord/src/main/java/net/essentialsx/discord/JDADiscordService.java +++ b/EssentialsDiscord/src/main/java/net/essentialsx/discord/JDADiscordService.java @@ -140,6 +140,7 @@ public class JDADiscordService implements DiscordService { logger.log(Level.INFO, tl("discordLoggingIn")); if (plugin.getSettings().getBotToken().replace("INSERT-TOKEN-HERE", "").trim().isEmpty()) { + invalidStartup = true; throw new IllegalArgumentException(tl("discordErrorNoToken")); }