no need for this, oops

This commit is contained in:
Lee 2024-07-06 00:42:14 +01:00
parent 3126935057
commit d45cd48ff6

@ -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