pls
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 35s

This commit is contained in:
Lee 2024-06-28 04:01:30 +01:00
parent 6af78c7da1
commit bf554933cc

@ -36,13 +36,13 @@ public class PauseSubCommand extends BatSubCommand {
return; return;
} }
if (!spotifyService.hasTrackPlaying(user)) { // if (!spotifyService.hasTrackPlaying(user)) {
interaction.replyEmbeds(EmbedUtils.genericEmbed() // interaction.replyEmbeds(EmbedUtils.genericEmbed()
.setDescription("You need to be playing a track to pause it.") // .setDescription("You need to be playing a track to pause it.")
.build()) // .build())
.queue(); // .queue();
return; // return;
} // }
boolean didPause = spotifyService.pausePlayback(user); boolean didPause = spotifyService.pausePlayback(user);
interaction.replyEmbeds(EmbedUtils.genericEmbed() interaction.replyEmbeds(EmbedUtils.genericEmbed()