From 7fb02398bff07107287026a06f598b2976254331 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 9 Jul 2019 20:15:39 -0400 Subject: [PATCH] Fix --- commands/search/anime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/anime.js b/commands/search/anime.js index 8d48acc5..51504a29 100644 --- a/commands/search/anime.js +++ b/commands/search/anime.js @@ -100,7 +100,7 @@ module.exports = class AnimeCommand extends Command { if (!id) return msg.say('Could not find any results.'); const anime = await this.fetchAnime(id); await this.fetchPersonalList(); - const entry = this.personalList.find(ani => ani.media.id === id); + const entry = this.personalList.find(ani => ani.mediaId === id); const embed = new MessageEmbed() .setColor(0x02A9FF) .setAuthor('AniList', 'https://i.imgur.com/iUIRC7v.png', 'https://anilist.co/')