mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 22:23:03 -04:00
fix missing shortcodes if only one image is available
This commit is contained in:
parent
cfe77685b2
commit
19ae208ae4
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ module.exports = {
|
|||
name: `${res.data.name} • ${res.data.platforms[args.type].images[0].version}`,
|
||||
url: res.data.link
|
||||
},
|
||||
description: res.data.codes.map((c)=>pill(c)).join(' '),
|
||||
image: {
|
||||
url: res.data.platforms[args.type].images[0].src
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue