Polls

Create, manage and evaluate Discord polls with 2 to 5 options.

Purpose: The polls module posts votes into a text or announcement channel. You provide a question and two to five options, optionally a duration in minutes and whether voting is anonymous. You can end running polls from the dashboard; votes are counted live in data/polls.json.

Creating a poll#

You can create a poll in two ways: through the dashboard form or directly in Discord with /poll. Both post the poll as an embed with voting buttons to the target channel.

  • Dashboard form – Up to five options. You fill in the question and options in fields; the poll is posted through the bot.
  • /poll command – Accepts up to ten options (one per line). If only a question is given, a yes/no poll is created; without options a form opens.

Voting and live results#

Voting happens through the numbered buttons below the embed. After every vote the bot refreshes the embed with current percentages and bars; the leading option gets a crown. The dashboard list refreshes automatically every five seconds.

  • The options are numbered by color in the embed, each with a progress bar and percentage.
  • In the expanded entry you additionally see the absolute vote count per option.
  • For anonymous polls the evaluation shows no attribution of votes to individual members.

Ending polls#

A poll ends in three ways: automatically once the configured duration has elapsed, from the dashboard via End, or in Discord with /endpoll and the poll ID.

Without a duration it keeps running

If you leave the duration field empty, the poll has no time limit and keeps running until you end it manually.

→ Embeds

Commands#

CommandDescriptionPermissions
/pollCreates a poll with multiple optionsEveryone
/endpollEnds a poll manually by ID (Admin only)Administrator

→ Details in the command reference

Dashboard settings#

SettingTypeMeaning
Polls module enabledToggleTurns the polls module on or off. While it is off, the related commands are blocked.
QuestionTextThe poll question. At most 256 characters.
OptionsTextTwo to five answer options, each at most 100 characters. Fewer than two or more than five options are not possible.
ChannelChannelChannel the poll is posted to. Text and announcement channels can be selected.
Duration (minutes, optional)NumberHow long the poll runs, in minutes. Leave empty for an unlimited poll. Allowed range 1 to 10080 minutes (7 days).
Anonymous votingToggleWhen enabled, cast votes are not attributed to individual members.
Default: Off

Pitfalls#

  • Two options are required and five is the maximum - a hard limit.
  • The bot needs permission to send messages in the target channel, otherwise creating the poll fails.
  • The /endpoll command ends a poll by ID and is restricted to administrators.
Last updated