From 8aa9ddd1d5fe93fc441e34be579bf5a554ae6b0a Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 30 Apr 2021 21:51:54 -0400 Subject: [PATCH] Fix --- commands/games-sp/anime-score.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/games-sp/anime-score.js b/commands/games-sp/anime-score.js index 4171199e..2eca2097 100644 --- a/commands/games-sp/anime-score.js +++ b/commands/games-sp/anime-score.js @@ -13,6 +13,7 @@ const searchGraphQL = stripIndents` averageScore title { english + romaji } coverImage { large @@ -46,12 +47,11 @@ module.exports = class AnimeScoreCommand extends Command { async run(msg) { try { const anime = await this.getRandomAnime(msg.channel.nsfw); - const title = anime.title.english || anime.title.romaji; const embed = new MessageEmbed() .setColor(0x02A9FF) .setAuthor('AniList', 'https://i.imgur.com/iUIRC7v.png', 'https://anilist.co/') .setThumbnail(anime.coverImage.large || anime.coverImage.medium || null) - .setTitle(title) + .setTitle(anime.title.english || anime.title.romaji) .setFooter(anime.id); await msg.reply('**You have 15 seconds, what score do you think this anime has?**', { embed }); const filter = res => {