mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -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}`,
|
name: `${res.data.name} • ${res.data.platforms[args.type].images[0].version}`,
|
||||||
url: res.data.link
|
url: res.data.link
|
||||||
},
|
},
|
||||||
|
description: res.data.codes.map((c)=>pill(c)).join(' '),
|
||||||
image: {
|
image: {
|
||||||
url: res.data.platforms[args.type].images[0].src
|
url: res.data.platforms[args.type].images[0].src
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue