Fixed LinkNotRecognized is not a constructor

This commit is contained in:
RemixDev 2022-02-18 15:11:10 +01:00
parent 7bb91b382c
commit bf2c8b5cfb
No known key found for this signature in database
GPG key ID: B33962B465BDB51C

View file

@ -5,10 +5,12 @@ const {
generatePlaylistItem,
generateArtistItem,
generateArtistDiscographyItem,
generateArtistTopItem,
generateArtistTopItem
} = require('./itemgen.js')
const {
LinkNotSupported,
LinkNotRecognized
} = require('./itemgen.js')
} = require('./errors.js')
async function parseLink(link){
if (link.includes('deezer.page.link')){