This commit is contained in:
parent
6af78c7da1
commit
bf554933cc
@ -36,13 +36,13 @@ public class PauseSubCommand extends BatSubCommand {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!spotifyService.hasTrackPlaying(user)) {
|
||||
interaction.replyEmbeds(EmbedUtils.genericEmbed()
|
||||
.setDescription("You need to be playing a track to pause it.")
|
||||
.build())
|
||||
.queue();
|
||||
return;
|
||||
}
|
||||
// if (!spotifyService.hasTrackPlaying(user)) {
|
||||
// interaction.replyEmbeds(EmbedUtils.genericEmbed()
|
||||
// .setDescription("You need to be playing a track to pause it.")
|
||||
// .build())
|
||||
// .queue();
|
||||
// return;
|
||||
// }
|
||||
|
||||
boolean didPause = spotifyService.pausePlayback(user);
|
||||
interaction.replyEmbeds(EmbedUtils.genericEmbed()
|
||||
|
Loading…
Reference in New Issue
Block a user