BotManualTHE COMMUNITY PLAYBOOK
English

Mafia: setup and everyday use

Social deduction game: secret roles, night kills, day votes, a private mafia thread, stats and Bank rewards.

3 min read
On this page

What this feature does

The classic social deduction game: secret roles by DM, night actions, public day votes and a private mafia thread.

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. Set up the game channel

Open your server dashboard, choose your server and turn on Mafia in the Engagement section. Pick the game channel, player counts, timers, roles and rules, with a live preview of the lobby and night panel.

2. Open a lobby

Anyone (or only staff, if you prefer) runs /mafia start. The lobby lists players and the role line-up, and fills up through the Join button until the timer runs out or the host starts.

3. Play nights and days

The bot deals the roles, runs each night and day, narrates who died and counts the votes. Dead players can spectate and, if you allow it, see every role.

4. Results and rankings

When the town or the mafia wins, the results post every role and fate. /mafia stats and /mafia leaderboard keep the bragging rights going.

A game that never loses its place

The whole game lives in the database, so a bot restart picks up exactly where it stopped, and every phase moves only once even when buttons, the timer and staff act at the same moment. Staff can push the game to the next phase with /mafia next or cancel it, and the console shows the live game, the public log, the full history of past games and the leaderboard.

Games need at least 4 players. Free servers play with up to 10 players per game, Pro servers with up to 20. Flows can open a lobby and react when a game starts, a player is eliminated or a team wins.

  • /mafia start, /mafia join, /mafia leave: lobby commands
  • /mafia role, /mafia spectate: your secret role panel, or watch the game
  • /mafia stats, /mafia leaderboard: members’ records and the server ranking

Questions and troubleshooting

How do I play Mafia on Discord?

Turn on Mafia in your server dashboard and pick a game channel. Someone runs /mafia start, players click Join, and the bot deals roles and runs every night, day and vote.

Is this the same as Werewolf?

Yes, it’s the same social deduction game. The mafia are the werewolves, the town are the villagers, and the doctor and detective (the seer) work the same way.

How many players do I need?

At least 4. You choose the minimum and maximum, up to 10 players on Free and up to 20 on Pro.

What if a player has DMs closed?

They can still play. The My role button and /mafia role show their role and night action privately in the channel.

Can people watch without playing?

Yes, with /mafia spectate. Dead players can see every role if you allow it, and you decide separately whether outside spectators may.

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

CommandWhat it doesOptions
/mafia startOpen a Mafia lobby in the game channellobby_minutes optionalHow long the lobby stays open (minutes)Whole number · Minimum: 1 · Maximum: 1440
/mafia joinJoin the open lobbyNo options
/mafia leaveLeave the lobbyNo options
/mafia roleShow your secret role and night actionNo options
/mafia spectateWatch the running gameNo options
/mafia nextMove the game to its next phase now (staff)No options
/mafia cancelCancel the game (staff, or the host in the lobby)No options
/mafia statsMafia stats of a membermember optionalMemberSelect a member
/mafia leaderboardMafia leaderboard of the serverNo options

Find an answer

Search features, commands and the full text of every guide.

Start typing to find a guide.

Browse all guides