mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 22:16:13 +00:00
Merge pull request #129 from mariusbegby/thumbnail-fix
fix: Fixed error when no thumbnail available
This commit is contained in:
1 file changed
+1
-1
@@ -237,7 +237,7 @@ module.exports = {
|
||||
});
|
||||
}
|
||||
|
||||
if (track.source === 'arbitrary') {
|
||||
if (track.source === 'arbitrary' || !track.thumnail) {
|
||||
track.thumbnail =
|
||||
'https://raw.githubusercontent.com/mariusbegby/cadence-discord-bot/main/assets/logo-rounded-128px.png';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user