oopsie
All checks were successful
Deploy to Dokku / docker (ubuntu-latest) (push) Successful in 1m6s

This commit is contained in:
Lee 2024-07-06 00:02:45 +01:00
parent 35b8fff808
commit 31aad2744c

View File

@ -53,12 +53,6 @@ public class LinkSubCommand extends BatCommand implements EventListener {
.queue();
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()
.setDescription("%s You can link your Spotify account by clicking [here](%s)".formatted(
Emojis.SPOTIFY_EMOJI.getFormatted(),