mirror of
https://github.com/JonasunderscoreJones/ZtereoMUSIC.git
synced 2025-10-26 21:09:19 +01:00
misc fixes + readme update
This commit is contained in:
parent
6d7addc22d
commit
6bd6645918
3 changed files with 12 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue