From 31aad2744cc40f75a21a92a12eb67be44900d7b4 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 6 Jul 2024 00:02:45 +0100 Subject: [PATCH] oopsie --- .../bat/features/spotify/command/LinkSubCommand.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/cc/fascinated/bat/features/spotify/command/LinkSubCommand.java b/src/main/java/cc/fascinated/bat/features/spotify/command/LinkSubCommand.java index 682107b..a9b0345 100644 --- a/src/main/java/cc/fascinated/bat/features/spotify/command/LinkSubCommand.java +++ b/src/main/java/cc/fascinated/bat/features/spotify/command/LinkSubCommand.java @@ -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(),