diff --git a/common/src/main/kotlin/dev/erdragh/astralbot/Bot.kt b/common/src/main/kotlin/dev/erdragh/astralbot/Bot.kt index acbed12..540e129 100644 --- a/common/src/main/kotlin/dev/erdragh/astralbot/Bot.kt +++ b/common/src/main/kotlin/dev/erdragh/astralbot/Bot.kt @@ -117,6 +117,10 @@ fun startAstralbot(server: MinecraftServer) { return } + if (AstralBotConfig.WEBHOOK_ENABLED.get() && AstralBotConfig.WEBHOOK_URL.get() == "") { + LOGGER.warn("Webhooks enabled, but no URL provided, chat synchronization will fallback to default implementation.") + } + minecraftHandler = MinecraftHandler(server) jda = JDABuilder.createLight(