From 29bb22a819840432e6ca24ed51145fbd4d89fbd1 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Fri, 12 Jul 2024 16:09:26 +0100 Subject: [PATCH] Update the series list command to say cards instead of x (#296) - Update the /series list command so that it says "cards" instead if "x", for example `39 cards` #289 Reviewed-on: https://git.vylpes.xyz/External/card-drop/pulls/296 Reviewed-by: VylpesTester Co-authored-by: Ethan Lane Co-committed-by: Ethan Lane --- src/helpers/SeriesHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/SeriesHelper.ts b/src/helpers/SeriesHelper.ts index 9bb94a2..ee4133b 100644 --- a/src/helpers/SeriesHelper.ts +++ b/src/helpers/SeriesHelper.ts @@ -78,7 +78,7 @@ export default class SeriesHelper { const seriesOnPage = series.splice(page * itemsPerPage, itemsPerPage); const description = seriesOnPage - .map(x => `[${x.id}] ${x.name} (x${x.cards.length})`) + .map(x => `[${x.id}] ${x.name} (${x.cards.length} cards)`) .join("\n"); const embed = new EmbedBuilder()