From 65dce2723131734e442c1b4787e85d00a8bd55d9 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 22 Mar 2024 12:38:38 -0400 Subject: [PATCH] Fix --- commands/events/us-election.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/events/us-election.js b/commands/events/us-election.js index cda9a459..2bfb977a 100644 --- a/commands/events/us-election.js +++ b/commands/events/us-election.js @@ -53,7 +53,7 @@ module.exports = class UsElectionCommand extends Command { if (!name) name = 'Other'; else name = name[1]; const score = tables.eq(i).children().eq(1).children().first().text().trim(); - const percentChange = tables.eq(i).children().eq(1).children().eq(1).text().trim() || 0; + const percentChange = tables.eq(i).children().eq(1).children().eq(1).text().trim() || '-0.0%'; canidates.push({ name, score, percentChange }); } return canidates;