mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 08:14:47 +02:00
Fix
This commit is contained in:
@@ -45,7 +45,7 @@ module.exports = class IGDBCommand extends Command {
|
|||||||
.setDescription(data.summary ? shorten(data.summary) : 'No description available.')
|
.setDescription(data.summary ? shorten(data.summary) : 'No description available.')
|
||||||
.setThumbnail(data.cover ? data.cover.url : null)
|
.setThumbnail(data.cover ? data.cover.url : null)
|
||||||
.addField('❯ ESRB Rating',
|
.addField('❯ ESRB Rating',
|
||||||
data.esrb ? esrb[data.esrb.rating] : '???', true)
|
data.esrb ? esrb[data.esrb.rating - 1] : '???', true)
|
||||||
.addField('❯ Release Date',
|
.addField('❯ Release Date',
|
||||||
data.first_release_date ? new Date(data.first_release_date).toDateString() : '???', true)
|
data.first_release_date ? new Date(data.first_release_date).toDateString() : '???', true)
|
||||||
.addField('❯ Status',
|
.addField('❯ Status',
|
||||||
|
|||||||
Reference in New Issue
Block a user