aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Kohls <mattkohls13@gmail.com>2018-07-01 19:02:35 -0400
committerMatt Kohls <mattkohls13@gmail.com>2018-07-01 19:02:35 -0400
commit7a23679a99f692e4dc7ee2ab109f66fe96054ba2 (patch)
treed71bbdaab531d4bbe424c593d018b6e39f4e2b61
parent652582ea0338add8d04ba42daa8f3c0956fa071d (diff)
downloadSoundChan-7a23679a99f692e4dc7ee2ab109f66fe96054ba2.tar.gz
SoundChan-7a23679a99f692e4dc7ee2ab109f66fe96054ba2.tar.bz2
SoundChan-7a23679a99f692e4dc7ee2ab109f66fe96054ba2.zip
Adding error output
-rw-r--r--src/main/java/soundchan/BotListener/BotListener.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/soundchan/BotListener/BotListener.java b/src/main/java/soundchan/BotListener/BotListener.java
index 95fef3c..33b9b7a 100644
--- a/src/main/java/soundchan/BotListener/BotListener.java
+++ b/src/main/java/soundchan/BotListener/BotListener.java
@@ -101,11 +101,13 @@ public class BotListener extends ListenerAdapter{
@Override
public void noMatches() {
// Needed, but shouldn't be called
+ System.out.println("Nothing found for " + event.getMember().getEffectiveName());
}
@Override
public void loadFailed(FriendlyException exception) {
// Needed, but shouldn't be called
+ System.out.println("Could not play: " + exception.getMessage());
}
});
}