From 7d04e53e022bc2d6bdf7421fdcc4de20cf162d43 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Sun, 3 Mar 2019 12:29:48 +0100 Subject: [PATCH] Fixed bug in AniList commands - fixed character information voiced by not showing any names --- lib/commands/AnilistApiCommands/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/AnilistApiCommands/index.js b/lib/commands/AnilistApiCommands/index.js index d66ee42..76414cc 100644 --- a/lib/commands/AnilistApiCommands/index.js +++ b/lib/commands/AnilistApiCommands/index.js @@ -152,7 +152,7 @@ class RichCharacterInfo extends cmdLib.ExtendedRichEmbed { let informationString = `**[${media.title.romaji}](${media.siteUrl})**: ${x.characterRole}`; if (x.voiceActors && x.voiceActors.length > 0) informationString += ` voice by ${x.voiceActors.map(y => { - `[${getNameString(y.name)}](${y.siteUrl})`; + return `[${getNameString(y.name)}](${y.siteUrl})`; }).join(', ')}`; return informationString; }).join('\n')