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; return;
} }
if (!spotifyService.hasTrackPlaying(user)) { // if (!spotifyService.hasTrackPlaying(user)) {
interaction.replyEmbeds(EmbedUtils.genericEmbed() // interaction.replyEmbeds(EmbedUtils.genericEmbed()
.setDescription("You are not currently playing a track.") // .setDescription("You are not currently playing a track.")
.build()) // .build())
.queue(); // .queue();
return; // return;
} // }
CurrentlyPlaying currentlyPlaying = spotifyService.getCurrentlyPlayingTrack(user); CurrentlyPlaying currentlyPlaying = spotifyService.getCurrentlyPlayingTrack(user);
Track track = (Track) currentlyPlaying.getItem(); Track track = (Track) currentlyPlaying.getItem();
AlbumSimplified album = track.getAlbum(); AlbumSimplified album = track.getAlbum();