No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-04 14:54:36 -04:00
.idea Update readme 2026-07-05 00:02:38 -04:00
assets Add bot icon 2026-07-06 01:54:25 -04:00
languages Detective? What's that? 2026-10-03 19:57:30 -04:00
.gitignore Update bot to use translations everywhere in the info command 2026-07-06 01:42:13 -04:00
bot.py Update domain 2026-10-03 19:47:36 -04:00
config.json Lower minimum players by 1 2026-10-04 14:54:36 -04:00
game.py add basic game logic, roles incoming 2026-10-03 19:35:25 -04:00
interactive_translate.py improve interactive translator 2026-07-09 05:39:36 -04:00
language_manager.py Detective? What's that? 2026-10-03 19:57:30 -04:00
LICENSE Initial commit 2026-07-04 23:41:46 -04:00
mafia_commands.py add basic game logic, roles incoming 2026-10-03 19:35:25 -04:00
README.md add basic game logic, roles incoming 2026-10-03 19:35:25 -04:00
server_config.py Add basic server config setup 2026-07-09 04:46:33 -04:00
user_config.py Add basic server config setup 2026-07-09 04:46:33 -04:00

Mafia of the Mountains

A Discord bot that runs mafia/werewolf games.

How to play

  1. Someone runs /mafia create in a channel to open a lobby.
  2. Players press Join. The host presses Start game once there are enough players (5 by default).
  3. Everyone presses View my role to see their role privately.
  4. Night: press Night action to use your ability (mafia kill, doctor protects, detective investigates).
  5. Day: talk it out, then press Vote. The player with the most votes is lynched; ties or a "skip" lead mean nobody is.
  6. The town wins when the mafia are gone. The mafia win when they equal or outnumber the town.

/mafia end stops a game early (host or Manage Server).

Timers and player limits are in the game section of config.json. The rules live in game.py (no Discord code) and the Discord side lives in mafia_commands.py.