diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/DiscordPlugin.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/DiscordPlugin.java index 20d4a43..54f6cd4 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/DiscordPlugin.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/DiscordPlugin.java @@ -364,6 +364,9 @@ public class DiscordPlugin { } logMessage.setLength(0); } + + if (message.trim().isBlank()) return; + sendMessageInstantly("```ansi\n" + message + "\n```", channelId); } }