From 7a23679a99f692e4dc7ee2ab109f66fe96054ba2 Mon Sep 17 00:00:00 2001 From: Matt Kohls Date: Sun, 1 Jul 2018 19:02:35 -0400 Subject: Adding error output --- src/main/java/soundchan/BotListener/BotListener.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main') 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()); } }); } -- cgit v1.2.3