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.
/pollcommand – 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#
| Command | Description | Permissions |
|---|---|---|
/poll | Creates a poll with multiple options | Everyone |
/endpoll | Ends a poll manually by ID (Admin only) | Administrator |
→ Details in the command reference
Dashboard settings#
| Setting | Type | Meaning |
|---|---|---|
| Polls module enabled | Toggle | Turns the polls module on or off. While it is off, the related commands are blocked. |
| Question | Text | The poll question. At most 256 characters. |
| Options | Text | Two to five answer options, each at most 100 characters. Fewer than two or more than five options are not possible. |
| Channel | Channel | Channel the poll is posted to. Text and announcement channels can be selected. |
| Duration (minutes, optional) | Number | How long the poll runs, in minutes. Leave empty for an unlimited poll. Allowed range 1 to 10080 minutes (7 days). |
| Anonymous voting | Toggle | When 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
/endpollcommand ends a poll by ID and is restricted to administrators.