Your mission
A practice election with accepted nominees, a secret ballot and verified role assignment. This workshop uses a small first rollout so you can see the complete result before opening it to the whole community. The example is a starting recipe; keep your server's own rules and audience in mind when choosing the final values.
Step 1: Prepare your server
Open your server dashboard and select the correct server, then open Elections. Enable the feature before running the example. Choose election managers and a normal elected role below the bot. Define who may run and vote before opening nominations.
Read Roles and permissions if a destination or role cannot be selected. For channel-based actions, check permissions in the actual channel, including its category overrides. For automatic role changes, the bot needs Manage Roles and a position above the role it will assign. Only grant the permissions needed by your chosen workflow.
Step 2: Build your first working example
1. Create the election
Select single or ranked voting, seats, nomination and voting windows, quorum and term. Decide whether current role holders are replaced and whether peer nominations are allowed.
2. Test the ballot
Nominate trial candidates, accept a peer nomination and vote from eligible members. Inspect turnout without exposing individual choices. At closing, check quorum, winners and the elected role’s term.
After changing the server-wide settings, use Save changes. An item editor, draft, preview or test action is a separate part of the workflow: read its save or publish action before expecting a public Discord post. Reopen the saved item to confirm the destination, access rules and values you intended.
Step 3: Understand the settings
Initial values below describe a new configuration. Your server may already have different saved values. A field with no initial value is chosen in its editor. Optional sections can stay inactive until the basic setup works. Empty and zero do not have one universal meaning; use the explanation for that specific field.
General
| Setting | Initial value | What it changes and how to use it |
|---|---|---|
| Channel | Not set | Set channel in the editor. Check it alongside the other fields in this section before saving. |
| Election managers | No entries | Who may start, advance and cancel elections from Discord. up to 10 entries. |
| Ping role | Not set | Mentioned when nominations / voting open and when results are in. |
| Panel colour | #18D7FF | Appearance of this part of the card or interface. A color change does not change eligibility or permissions. |
| Show turnout | On | The panel shows how many ballots were cast (never who voted for whom). |
| DM the winners | On | A short congratulations message when someone is elected. |
Defaults
| Setting | Initial value | What it changes and how to use it |
|---|---|---|
| Defaults · method | ranked | Choose how defaults · method behaves from the supported options. Options: single, ranked. |
| Defaults · seats | 1 | Set defaults · seats within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–10; whole numbers. |
| Defaults · nomination hours | 48 | Time available for nominations before the election moves to voting. Leave room for candidates to read the requirements and accept any required nomination steps. 1–720; whole numbers. |
| Defaults · voting hours | 48 | Time available to submit ballots in the voting phase. It is separate from nominations and from the winner’s term of office. 1–720; whole numbers. |
| Defaults · term days | 0 | 0 = the elected role is kept. 0–365; whole numbers. |
| Defaults · quorum | 0 | Minimum ballots for a valid result; 0 = none. 0–100000; whole numbers. |
| Defaults · self nominate | On | Switch defaults · self nominate on or off. This controls this option only; related options keep their own settings. |
| Defaults · peer nominate | On | Nominees must accept before they are on the ballot. |
| Defaults · replace holders | Off | Take the role away from members who hold it and did not win. |
| Defaults · voter · min account age days | 0 | Minimum age of the Discord account before this action is allowed. This measures time since account creation, not time in your server. Zero imposes no age minimum through this field. 0–3650; whole numbers. |
| Defaults · voter · min member days | 0 | Minimum time the member must have spent in this server before this action is allowed. An old Discord account can still be a new server member. Zero imposes no membership-duration minimum through this field. 0–3650; whole numbers. |
| Defaults · voter · min level | 0 | Needs Levels; 0 = off. 0–1000; whole numbers. |
| Defaults · voter · role | No entries | The selected defaults · voter · role entries. Add each selection in the editor and check the resulting list before saving. up to 10 entries. |
| Defaults · candidate · min account age days | 0 | Minimum age of the Discord account before this action is allowed. This measures time since account creation, not time in your server. Zero imposes no age minimum through this field. 0–3650; whole numbers. |
| Defaults · candidate · min member days | 0 | Minimum time the member must have spent in this server before this action is allowed. An old Discord account can still be a new server member. Zero imposes no membership-duration minimum through this field. 0–3650; whole numbers. |
| Defaults · candidate · min level | 0 | Needs Levels; 0 = off. 0–1000; whole numbers. |
| Defaults · candidate · role | No entries | The selected defaults · candidate · role entries. Add each selection in the editor and check the resulting list before saving. up to 10 entries. |
Step 4: Configure the items inside this feature
Server-wide settings and individual entries serve different purposes. These tables describe the selected entry editors. Set up one complete entry first, save it, and confirm it works before adding the rest. Fields for an alternative type apply only when that type is selected.
Election
| Setting | Initial value | What it changes and how to use it |
|---|---|---|
| Title | Choose in editor | Text used for title. Check the preview and use only the variables offered by this editor. 1–100 characters. |
| Description | Empty | Text used for description. Check the preview and use only the variables offered by this editor. Up to 1000 characters. |
| Role | Not set | Set role in the editor. Check it alongside the other fields in this section before saving. |
| Channel | Not set | Set channel in the editor. Check it alongside the other fields in this section before saving. |
| Method | ranked | Choose how method behaves from the supported options. Options: single, ranked. |
| Seats | 1 | Set seats within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–10; whole numbers. |
| Nomination hours | 48 | Time available for nominations before the election moves to voting. Leave room for candidates to read the requirements and accept any required nomination steps. 1–720; whole numbers. |
| Voting hours | 48 | Time available to submit ballots in the voting phase. It is separate from nominations and from the winner’s term of office. 1–720; whole numbers. |
| Term days | 0 | Length of the elected term used for the winner’s role term. Publish this alongside the position and election rules so voters know the duration of the appointment. 0–365; whole numbers. |
| Quorum | 0 | Set quorum within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 0–100000; whole numbers. |
| Self nominate | On | Switch self nominate on or off. This controls this option only; related options keep their own settings. |
| Peer nominate | On | Switch peer nominate on or off. This controls this option only; related options keep their own settings. |
| Replace holders | Off | Switch replace holders on or off. This controls this option only; related options keep their own settings. |
| Voter · min account age days | 0 | Minimum age of the Discord account before this action is allowed. This measures time since account creation, not time in your server. Zero imposes no age minimum through this field. 0–3650; whole numbers. |
| Voter · min member days | 0 | Minimum time the member must have spent in this server before this action is allowed. An old Discord account can still be a new server member. Zero imposes no membership-duration minimum through this field. 0–3650; whole numbers. |
| Voter · min level | 0 | Set voter · min level within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 0–1000; whole numbers. |
| Voter · role | No entries | The selected voter · role entries. Add each selection in the editor and check the resulting list before saving. up to 10 entries. |
| Candidate · min account age days | 0 | Minimum age of the Discord account before this action is allowed. This measures time since account creation, not time in your server. Zero imposes no age minimum through this field. 0–3650; whole numbers. |
| Candidate · min member days | 0 | Minimum time the member must have spent in this server before this action is allowed. An old Discord account can still be a new server member. Zero imposes no membership-duration minimum through this field. 0–3650; whole numbers. |
| Candidate · min level | 0 | Set candidate · min level within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 0–1000; whole numbers. |
| Candidate · role | No entries | The selected candidate · role entries. Add each selection in the editor and check the resulting list before saving. up to 10 entries. |
Test the whole journey
- Verify an eligible candidate reaches the ballot and an unaccepted peer nomination does not.
- Complete a trial vote and inspect the result, role recipients and expiry policy.
- Repeat the relevant member action with an ordinary member account and the staff action with your intended staff role. An administrator test alone can hide permission restrictions. Check both the response in Discord and the saved record or result in the dashboard.
- Change one setting that affects the result, save it, and repeat the same test. Record the previous value so you can restore it if the new behavior is not what you wanted.
Follow the complete workflow
1. Turn on Elections
Open your server dashboard, choose your server and switch on Elections in the Community section. Pick the panel channel, election managers and your default rules.
2. Create an election
Use /election create or the dashboard: title, role, single or ranked choice, seats, how long nominations and voting last, the term and who may vote or run.
3. Nominations open
Members press Run for office or use /election nominate, write a statement and wait for the vote. Peer nominees accept or decline from a prompt.
4. Vote and count
Voting opens on schedule. Members press Vote and pick or rank candidates in a private menu. When it closes, the bot counts, posts the results and hands out the role.
Operation and behavior in detail
Secret by design, deleted on schedule
Each member can vote once, and a ballot is final. Who voted and what was voted are stored in two separate places, written in the same step, and the ballot carries no member ID and no time. Anyone with access to the dashboard or API sees turnout and totals, never a person’s choice. Ballots and the list of who voted are deleted 90 days after the election ends; only the totals stay.
Every phase moves on its own: nominations close, voting opens and the count runs on time. An election without candidates is cancelled; one with no more candidates than seats is won unopposed without a vote. Running elections at a time: 1 on Free, 10 on Pro.
/election create,/election advance,/election cancel: for election managers/election nominate,/election withdraw,/election statement: for candidates/election voteand/election candidates: for voters
Diagnose actual bot responses
Use the response to identify the failing stage before changing settings. The messages below are referenced by this feature’s current handlers. Values in square brackets represent the member, amount, time or other live detail supplied in Discord; they are not text to enter. Different actions can use different guards, so this list is a diagnostic reference, not a claim that every message appears in every workflow.
| Response or condition | Admin investigation and next step |
|---|---|
| That election doesn’t exist (any more). | Locate the referenced item, channel, member or record in this server. Correct a deleted destination or stale selection instead of creating unrelated replacements. |
| Nominations for this election are closed. | Inspect the current state and use a current record or interaction. Decide whether a new operation is intended before recreating something that may already have settled. |
| This election isn’t taking votes right now. | Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action. |
| That member is already a candidate. | Open the existing record and confirm its current result before creating a replacement. An already-completed response can indicate that the first action succeeded. |
| You have already voted in this election — ballots are final. | Open the existing record and confirm its current result before creating a replacement. An already-completed response can indicate that the first action succeeded. |
| This election isn’t in a phase that allows that. | Inspect this member’s eligibility and the server’s policy for this operation. Establish which condition failed before changing roles or making an exception. |
| Something went wrong with the election — try again. | Read the stated wait or retry time and distinguish a member cooldown from a service rate limit. Repeated attempts do not repair the underlying timing constraint. |
| I’m missing permissions for that (Manage Roles, or posting in the election channel). | Inspect the bot’s effective permission in the exact destination and the relative position of any role it must manage. Re-test the original action after correcting the specific missing access. |
| Some election settings aren’t valid ([field]). | Compare the submitted fields with the current editor or command options, including required values, supported choices and ranges. Change the rejected input and review the new preview. |
| Pick a channel for the election, or set a default channel in the dashboard. | Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action. |
| That role can’t be given by the bot (deleted, managed by an integration, or @everyone). | Locate the referenced item, channel, member or record in this server. Correct a deleted destination or stale selection instead of creating unrelated replacements. |
| That role is above the bot’s highest role — move the bot’s role higher first. | Inspect the bot’s effective permission in the exact destination and the relative position of any role it must manage. Re-test the original action after correcting the specific missing access. |
| That role has dangerous permissions — add it to Privileged roles in the dashboard first. | Inspect the bot’s effective permission in the exact destination and the relative position of any role it must manage. Re-test the original action after correcting the specific missing access. |
| That member isn’t in this server. | Locate the referenced item, channel, member or record in this server. Correct a deleted destination or stale selection instead of creating unrelated replacements. |
| Bots can’t stand for election. | Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action. |
| This election doesn’t take self-nominations — ask someone to nominate you. | Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action. |
| This election doesn’t take nominations of other members. | Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action. |
| To run yourself, use /election nominate without a member. | Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action. |
| The candidate list changed — open the ballot again. | Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action. |
Several elections are running — pick one in the election option. | Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action. |
| No election is running right now. | Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action. |
| Only election managers (or members with Manage Server) can do that. | Check the actor’s Discord permissions and the feature’s configured staff roles. Test the intended member and staff paths separately; a server administrator can mask missing role access. |
| You aren’t a candidate in this election. | Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action. |
| Only the nominated member can answer this. | Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action. |
After a correction, repeat the original action with the affected member permissions and inspect its final state. For a reward, payment, role change or public post, verify what already completed before applying a manual replacement. Keep the record identifier and response in your staff notes so a second admin can follow the same incident.
When something looks wrong
| Symptom | What to inspect | How to recover |
|---|---|---|
| A winner is not granted the role | Role hierarchy, election validity, quorum and final result state. | Correct delivery access and inspect the recorded result before running another election. |
| The saved setup produces no visible result | Whether the feature is enabled, the required action has actually happened, and the selected destination still exists. | Follow the worked example once, then inspect the response before retrying. A saved configuration alone does not perform every action. |
| Staff can use it, but an ordinary member cannot | Member eligibility, selected roles, channel overrides and Discord command permissions. | Test with the affected role combination. Correct the specific restriction and test again. |
| A role, reward or message is missing | The related feature, destination permissions and the result of the original action. | Confirm what already completed before repeating an action that spends currency, sends a message or grants a reward. |
Feature-specific questions
How do I hold an election on Discord?
Turn on Elections in your server dashboard and run /election create with the role, the method and the dates. Members nominate themselves, vote with a button, and the bot counts and gives the winners the role.
Is voting really anonymous?
Yes. Ballots are stored without any member ID or timestamp, separately from the list of who voted. Staff, the dashboard and the API only ever see turnout and totals. Ballots are deleted 90 days after the election.
What is ranked-choice voting?
Voters rank the candidates in order. If nobody has a majority, the last candidate is eliminated and their ballots move to each voter’s next choice, until someone wins. It avoids splitting the vote between similar candidates.
Can winners hold the role for a limited term?
Yes. Set a term in days and the role is given through Temporary roles, so it is removed automatically when the term ends. Set 0 for a permanent role.
Can I stop alts from voting?
Set a minimum account age and minimum days in the server for voters, or require a level or a role. Each member can vote once per election.
Launch checklist
- Verify an eligible candidate reaches the ballot and an unaccepted peer nomination does not.
- Complete a trial vote and inspect the result, role recipients and expiry policy.
- The saved setup and the actual Discord result match the example you chose.
- A regular member and the intended staff role can complete their respective steps.
- Optional rewards, notifications and public destinations are intentional.
- Another admin knows which settings to change, how to inspect a result and how to stop or correct the workflow.
Share Elections basics with someone who needs an overview. Use the command reference below for exact command names and required options.
Commands for this feature
| Command | What it does | Options |
|---|---|---|
/election create | Start an election (staff) | title requiredWhat the election is for, e.g. "Moderator election"Text · Up to 100 charactersrole optionalThe role the winners get (optional)Select a rolemethod optionalHow members voteText · Choices: Single choice · Ranked choice (instant runoff)seats optionalHow many winnersWhole number · Minimum: 1 · Maximum: 10nomination_hours optionalHours nominations stay openWhole number · Minimum: 1 · Maximum: 720voting_hours optionalHours the vote stays openWhole number · Minimum: 1 · Maximum: 720term_days optionalDays the winners keep the role (0 = for good)Whole number · Minimum: 0 · Maximum: 365channel optionalWhere to post the electionSelect a channel |
/election nominate | Run for office, or nominate another member | member optionalThe member to nominate (empty = yourself)Select a memberelection optionalWhich election (empty = the only running one)Whole number · Minimum: 1 · Choose from the matching suggestions |
/election withdraw | Withdraw your candidacy | election optionalWhich election (empty = the only running one)Whole number · Minimum: 1 · Choose from the matching suggestions |
/election statement | Write or edit your candidate statement | election optionalWhich election (empty = the only running one)Whole number · Minimum: 1 · Choose from the matching suggestions |
/election vote | Cast your secret ballot | election optionalWhich election (empty = the only running one)Whole number · Minimum: 1 · Choose from the matching suggestions |
/election candidates | See the candidates and their statements | election optionalWhich election (empty = the only running one)Whole number · Minimum: 1 · Choose from the matching suggestions |
/election advance | Close the current phase now (staff) | election optionalWhich election (empty = the only running one)Whole number · Minimum: 1 · Choose from the matching suggestions |
/election cancel | Cancel an election (staff) | election optionalWhich election (empty = the only running one)Whole number · Minimum: 1 · Choose from the matching suggestions |