mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-04 14:38:49 +00:00
fix: Fixed error when no thumbnail available
This commit is contained in:
1 parent
8b0c0e3d54
commit
80f26af242
1 file changed
+1
-1
@@ -237,7 +237,7 @@ module.exports = {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (track.source === 'arbitrary') {
|
if (track.source === 'arbitrary' || !track.thumnail) {
|
||||||
track.thumbnail =
|
track.thumbnail =
|
||||||
'https://raw.githubusercontent.com/mariusbegby/cadence-discord-bot/main/assets/logo-rounded-128px.png';
|
'https://raw.githubusercontent.com/mariusbegby/cadence-discord-bot/main/assets/logo-rounded-128px.png';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user