diff --git a/src/main/kotlin/org/randomcat/agorabot/features/PeriodicMessage.kt b/src/main/kotlin/org/randomcat/agorabot/features/PeriodicMessage.kt index 58a8f585..c43ef711 100644 --- a/src/main/kotlin/org/randomcat/agorabot/features/PeriodicMessage.kt +++ b/src/main/kotlin/org/randomcat/agorabot/features/PeriodicMessage.kt @@ -219,6 +219,8 @@ fun periodicMessageSource(): FeatureSource<*> = object : FeatureSource= previousScheduled) { try { + logger.info("Sending periodic message with ID $id") + jda .getTextChannelById(messageConfig.discordChannelId) ?.sendMessage(messageConfig.options.random(userFacingRandom())) @@ -226,19 +228,23 @@ fun periodicMessageSource(): FeatureSource<*> = object : FeatureSource