forked from Fascinated/Bat
no need for this, oops
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user