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

View File

@ -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()