Skip to content

Commit

Permalink
Add version logging
Browse files Browse the repository at this point in the history
The log is a lot more informative if it includes the version of JMusicBot it is running.
  • Loading branch information
0x000C0A71 authored Aug 14, 2024
1 parent 859e5c5 commit 9e4ffe0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/jagrosh/jmusicbot/JMusicBot.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9e4ffe0

Please sign in to comment.