This commit is contained in:
Lee 2024-06-28 04:00:19 +01:00
parent 31e81363ac
commit 6af78c7da1

@ -42,13 +42,13 @@ public class CurrentSubCommand extends BatSubCommand {
return;
}
if (!spotifyService.hasTrackPlaying(user)) {
interaction.replyEmbeds(EmbedUtils.genericEmbed()
.setDescription("You are not currently playing a track.")
.build())
.queue();
return;
}
// if (!spotifyService.hasTrackPlaying(user)) {
// interaction.replyEmbeds(EmbedUtils.genericEmbed()
// .setDescription("You are not currently playing a track.")
// .build())
// .queue();
// return;
// }
CurrentlyPlaying currentlyPlaying = spotifyService.getCurrentlyPlayingTrack(user);
Track track = (Track) currentlyPlaying.getItem();
AlbumSimplified album = track.getAlbum();