From 3898942ce21fff999ade68dd284813634fe1d5a4 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 6 Nov 2024 09:02:06 -0500 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 40a021ad..1d3a7698 100644 --- a/commands/events/us-election.js +++ b/commands/events/us-election.js @@ -24,7 +24,7 @@ module.exports = class UsElectionCommand extends Command { async run(msg) { const currentYear = new Date().getFullYear(); if (year !== currentYear) { - return msg.reply(`This command has not been updated to reflect the ${currentYear} election season.`); + return msg.reply(`This command has not been updated to reflect the ${year} election season.`); } const canidates = await this.getList(); const list = canidates.map(