Removed unused code

This commit is contained in:
2022-07-05 14:53:19 +07:00
parent 23c0817a67
commit d3cd143897
-7
View File
@@ -398,13 +398,6 @@ export default class Play extends DiscordModule {
{ embeds: [EMBEDS.ADDED_SONGS_QUEUE(data, locale, songs)] }, { embeds: [EMBEDS.ADDED_SONGS_QUEUE(data, locale, songs)] },
true true
); );
} else if (false) {
sendHybridInteractionMessageResponse(
data,
{ embeds: [EMBEDS.LOOKUP_ERROR(data, locale, new Error('Album not supported for now'))] },
true
);
return null;
} }
let result = await DiscordMusicPlayer.searchSpotifyBySpotifyLink(linkData).catch((err) => { let result = await DiscordMusicPlayer.searchSpotifyBySpotifyLink(linkData).catch((err) => {