From d45cd48ff67804a2c6c06481a4ac7c4e38104a01 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 6 Jul 2024 00:42:14 +0100 Subject: [PATCH] no need for this, oops --- .../cc/fascinated/bat/features/spotify/SpotifyFeature.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/cc/fascinated/bat/features/spotify/SpotifyFeature.java b/src/main/java/cc/fascinated/bat/features/spotify/SpotifyFeature.java index 44db632..c3c747e 100644 --- a/src/main/java/cc/fascinated/bat/features/spotify/SpotifyFeature.java +++ b/src/main/java/cc/fascinated/bat/features/spotify/SpotifyFeature.java @@ -113,12 +113,6 @@ public class SpotifyFeature extends Feature { CurrentlyPlaying currentlyPlaying = spotifyService.getCurrentlyPlayingTrack(user); Track track = (Track) currentlyPlaying.getItem(); String trackName = track.getName(); - for (Action action : currentlyPlaying.getActions().getDisallows().getDisallowedActions()) { - if (action.equals(Action.SKIPPING_NEXT)) { - return EmbedUtils.errorEmbed() - .setDescription("%s Unable to skip the track.".formatted(Emojis.CROSS_MARK_EMOJI)); - } - } spotifyService.skipTrack(user); // Skip the track // Get the new track