From 2afd2061806a4c24336e8f76d92f47aa85316d61 Mon Sep 17 00:00:00 2001 From: BenSegal855 Date: Sun, 21 Jan 2024 12:06:37 -0500 Subject: [PATCH] Fix poll timestamp --- src/commands/fun/poll.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/fun/poll.ts b/src/commands/fun/poll.ts index d1cd8dd..0f0f147 100644 --- a/src/commands/fun/poll.ts +++ b/src/commands/fun/poll.ts @@ -217,7 +217,7 @@ export class PollCommand extends SteveCommand { } return interaction.reply({ - content: `## Votes as of ${time(Date.now(), TimestampStyles.ShortDateTime)} + content: `## Votes as of ${time(new Date(), TimestampStyles.ShortDateTime)} ${poll.choices.map((choice, idx) => `${NUMBER_EMOTES[idx]} ${choice.voters.map(userMention).join(', ')}`).join('\n')}`, allowedMentions: {}, ephemeral: true