Engagement & games

Mafia and Werewolf game bot for Discord: secret roles, night kills, day votes

Mafia brings the classic social deduction game, also known as Werewolf, to your server. Players join a lobby, get a secret role by DM, the mafia picks a victim at night while the doctor protects and the detective investigates, and by day everyone discusses and votes someone out. BotGG runs the timers, the votes and the win checks, so nobody has to be the narrator.

  • Works on the Free plan
  • 1 slash command
  • Set up in the web console
game-nightDiscord preview

BotGGBOTToday at 20:14

@Game Night

Mafia #7 — lobby
Join with the button. When the lobby closes, everyone gets a secret role by DM (or with the “My role” button).
Host
@Dana
Players
7/12 players (at least 5)
Roles
🔪 1 Mafia · 💉 Doctor · 🔎 Detective · 🏠 4 Villagers
JoinLeaveStart nowCancel
A Mafia lobby waiting for players

What you get

Four classic roles

Mafia, Doctor, Detective and Villagers. The mafia count is automatic (about a quarter of the players) or fixed, and the doctor and detective can be switched off.

Roles by DM, with a fallback

Every player gets a role card by DM. Closed DMs are no problem: the My role button and /mafia role open the same private panel in the channel.

Night and day on timers

Night actions are picked from a menu, discussion and voting have their own timers, and a phase ends early as soon as everyone has acted or voted.

Public vote with a live tally

By day players vote from a menu on the phase message, can change their vote, and see the tally live. Skipping the vote can be allowed, and a tie eliminates nobody.

Private mafia thread

The mafia gets a private thread to plan. Teammates see each other’s night picks, a dead member is removed, and the thread is locked when the game ends.

Stats, leaderboard and coins

Wins, games, saves and finds per member, a server leaderboard, and optional Bank coins for playing and for winning.

How it works

  1. Set up the game channel

    Open https://console.botgg.app, 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

    BotGG 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

Slash commands

Generated from the bot’s real command definitions. Full list on the commands page.

/mafiaMafia: secret roles, night kills, day votes9 subcommands
  • /mafia startlobby_minutes?Open a Mafia lobby in the game channel
  • /mafia joinJoin the open lobby
  • /mafia leaveLeave the lobby
  • /mafia roleShow your secret role and night action
  • /mafia spectateWatch the running game
  • /mafia nextMove the game to its next phase now (staff)
  • /mafia cancelCancel the game (staff, or the host in the lobby)
  • /mafia statsmember?Mafia stats of a member
  • /mafia leaderboardMafia leaderboard of the server

Commands

Free vs Pro

Every feature works on the Free plan. Pro raises the limits and unlocks extras.

LimitFreePro
Players per Mafia game1020

What Pro adds See pricing

Frequently asked questions

How do I play Mafia on Discord?

Turn on Mafia in the BotGG console and pick a game channel. Someone runs /mafia start, players click Join, and BotGG 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.

Ready to level up your server?

Add BotGG for free, then switch features on in the web console.