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