misc fixes + readme update

This commit is contained in:
ZtereoHYPE 2021-11-03 18:12:34 +01:00
parent 6d7addc22d
commit 6bd6645918
3 changed files with 12 additions and 3 deletions

View file

@ -16,7 +16,7 @@ import java.util.List;
public class TrackScheduer extends AudioEventAdapter {
private final AudioPlayer player;
private final List<AudioTrack> trackQueue = new ArrayList<AudioTrack>();
private final List<AudioTrack> trackQueue = new ArrayList<>();
private AudioTrack currentTrack;
private final MessageChannel infoChannel;

View file

@ -45,8 +45,8 @@ public class CommandListener extends ListenerAdapter {
try {
command.execute(event, args);
} catch (Exception e) {
System.out.println(e);
message.getChannel().sendMessage("uh oh something really bad happened and yeah so yeah everything is aborted and cancelled i give up this is too hard kthxbye").queue();
throw e;
}
}
}