forked from Fascinated/Bat
pls
This commit is contained in:
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user