oopsie
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m6s
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m6s
This commit is contained in:
parent
35b8fff808
commit
31aad2744c
@ -53,12 +53,6 @@ public class LinkSubCommand extends BatCommand implements EventListener {
|
|||||||
.queue();
|
.queue();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
SpotifyProfile profile = user.getProfile(SpotifyProfile.class);
|
|
||||||
if (!profile.hasLinkedAccount() || !spotifyService.hasTrackPlaying(user)) {
|
|
||||||
event.replyEmbeds(SpotifyFeature.checkSpotify(spotifyService, user).build()).queue();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
event.replyEmbeds(EmbedUtils.genericEmbed()
|
event.replyEmbeds(EmbedUtils.genericEmbed()
|
||||||
.setDescription("%s You can link your Spotify account by clicking [here](%s)".formatted(
|
.setDescription("%s You can link your Spotify account by clicking [here](%s)".formatted(
|
||||||
Emojis.SPOTIFY_EMOJI.getFormatted(),
|
Emojis.SPOTIFY_EMOJI.getFormatted(),
|
||||||
|
Loading…
Reference in New Issue
Block a user