This commit is contained in:
Daniel Odendahl Jr
2017-12-12 04:22:03 +00:00
parent f3400370d4
commit 7e0b93499a
+1 -1
View File
@@ -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',