mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 07:46:43 +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.')
|
||||
.setThumbnail(data.cover ? data.cover.url : null)
|
||||
.addField('❯ ESRB Rating',
|
||||
data.esrb ? esrb[data.esrb.rating] : '???', true)
|
||||
data.esrb ? esrb[data.esrb.rating - 1] : '???', true)
|
||||
.addField('❯ Release Date',
|
||||
data.first_release_date ? new Date(data.first_release_date).toDateString() : '???', true)
|
||||
.addField('❯ Status',
|
||||
|
||||
Reference in New Issue
Block a user