From 9e4ffe06f07b73f8dfb14e79e1b986799eeb688a Mon Sep 17 00:00:00 2001 From: Marc Meier Date: Wed, 14 Aug 2024 21:01:23 +0200 Subject: [PATCH] Add version logging The log is a lot more informative if it includes the version of JMusicBot it is running. --- src/main/java/com/jagrosh/jmusicbot/JMusicBot.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/jagrosh/jmusicbot/JMusicBot.java b/src/main/java/com/jagrosh/jmusicbot/JMusicBot.java index 30409a6bf..d34a2e339 100644 --- a/src/main/java/com/jagrosh/jmusicbot/JMusicBot.java +++ b/src/main/java/com/jagrosh/jmusicbot/JMusicBot.java @@ -72,6 +72,9 @@ private static void startBot() { // create prompt to handle startup Prompt prompt = new Prompt("JMusicBot"); + + // logging version + LOG.info("Running JMusicBot version " + OtherUtil.getCurrentVersion()); // startup checks OtherUtil.checkVersion(prompt);