What this feature does
Elect moderators or council members with nominations, a secret ballot and a role for a fixed term.
Before you begin
For server settings, open your server dashboard and select the server you manage. For commands and buttons, use the server where your community has enabled this feature. The options available to a member depend on that server’s settings.
Get started
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 console: 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.
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 console 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
Questions and troubleshooting
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 console 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.
Next steps
Use the command reference below for the available Discord actions. If something does not appear or respond, follow Troubleshooting. Server admins can check roles and permissions before changing access.
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 |