change: trackmanager will now say what is playing at the first play

This commit is contained in:
ZtereoHYPE 2021-11-20 02:10:34 +01:00
parent 7d7676c910
commit 07fe95a1bc

View file

@ -35,6 +35,7 @@ public class TrackManager extends AudioEventAdapter {
// change this to add to queue and call onTrackEnd!
if (player.getPlayingTrack() == null) {
player.playTrack(track);
infoChannel.sendMessage("Playing: " + track.getInfo().title).queue();
} else {
trackQueue.add(track);
infoChannel.sendMessage("Queued " + track.getInfo().title).queue();