From 014eeb57b0b7f0de8dbe8c2898155fbea7dae4bf Mon Sep 17 00:00:00 2001 From: Saahil Date: Mon, 16 Dec 2024 22:08:35 -0500 Subject: [PATCH] update: poll .. --- src/commands/poll.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/commands/poll.ts b/src/commands/poll.ts index 8a6c8d6..44c4f16 100644 --- a/src/commands/poll.ts +++ b/src/commands/poll.ts @@ -63,7 +63,11 @@ export default class ZeonPoll implements Command { text: { type: "plain_text", text: option }, value: `${pollId}_${index}`, action_id: `vote_poll_${pollId}_${index}`, - }, + }, + { + type: "mrkdwn", + text: `\`${"█".repeat(polls[pollId].options.length)}${" ".repeat(polls[pollId].options.length)}\` 0%`, + } ], })), {