From 8907db15be10d121bb6d9e1ca573d2048535c534 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Wed, 2 Feb 2022 02:15:49 -0700 Subject: [PATCH] show watchlist in anisearch --- util/anime/anisearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/anime/anisearch.js b/util/anime/anisearch.js index 5c507dd..cfdf602 100644 --- a/util/anime/anisearch.js +++ b/util/anime/anisearch.js @@ -25,7 +25,7 @@ module.exports = async (message, client, search, threshold=-10000, type='full') //.addField('Airing', `**Began:** ${an.airStartDate}\n**Ended:** ${an.isComplete ? an.airEndDate : 'This anime is still airing!'}`) .addField("Cast", `**${an.characters.length} Characters**\n${(an.characters.length > 50 ? an.characters.slice(0, 49) : an.characters).map(char => client.misc.cache.charsID.get(char)).join(', ')}${an.characters.length > 50 ? `\n**+${an.characters.length - 50} Others**` : ''}`) .addField('Other', `**Genre(s):** ${an.genres.join(", ")}\n**Stream this at:** ${an.streamAt.join(", ")}${an.altNames && an.altNames.length ? `\n\n**Other names:** ${an.altNames.map(n => `\`${n}\``).join(', ')}` : ''}`) - .addField('Love', `**Watchers**: **${an.watchers} Natsuki ${client.utils.as(an.watchers, 'user')}** ${an.watchers === 1 ? 'has' : "have"} this anime on their list of finished anime!\n\`n?watched ${an.name}\``) + .addField('Love', `**Watchers**: **${an.watchers} Natsuki ${client.utils.as(an.watchers, 'user')}** ${an.watchers === 1 ? 'has' : "have"} this anime on their list of finished anime!\n\`n?watched ${an.name}\`\n**Watchlisted**: **${an.listed} Natsuki ${client.utils.as(an.listed, 'user')}** ${an.listed === 1 ? 'has' : "have"} this anime on their list of anime they want to watch!\n\`n?watchlist add ${an.name}\``) } da.push(an.id); return {embed: rte, id: an.id};