From 33fc3ec6b2d9029e5e2dc70d21297a0d3c29048d Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 27 Jul 2018 14:35:58 -0400 Subject: [PATCH] Fix --- commands/search/esrb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/esrb.js b/commands/search/esrb.js index 5c0f3a27..fd6f15b1 100644 --- a/commands/search/esrb.js +++ b/commands/search/esrb.js @@ -37,7 +37,7 @@ module.exports = class ESRBCommand extends Command { .setTitle(data.title) .setURL(data.url) .setThumbnail(data.ratingImage) - .addField('❯ Rating', ratings(data.rating)); + .addField('❯ Rating', ratings[data.rating]); return msg.embed(embed); } catch (err) { return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);