Add jellyfin handling

This commit is contained in:
2024-04-06 01:01:46 +02:00
parent 7f3781f0fc
commit 4e1ec14272

View File

@@ -97,6 +97,14 @@ module.exports = {
links.push(`[<:ytbm:1224704771248750622> Youtube ](${url})`); links.push(`[<:ytbm:1224704771248750622> Youtube ](${url})`);
continue; continue;
} }
if (url.startsWith('https://jelly.')) {
links.push(`[<:jelly:1225931843279519905> Jellyfin (${url.split('.')[1]}) ](${url})`);
continue;
}
if (url.startsWith('https://soundcloud.com/') || url.startsWith('https://m.soundcloud.com/')) {
links.push(`[<:soundcld:1225702702135119902> Soundcloud ](${url})`);
continue;
}
} }