"Quitbot", in this case, meaning a bot that takes over for a player who has quit the game before dying. As I always say, trying to punish people for leaving games makes for a bad atmosphere, and the real solution is to mitigate the effect of them quitting in the first place. The Mafia, moreso than any other faction, needs Quitbots the most, so let's start with them.
General Behaviour
- Living Mafia quits are no longer announced to non-Mafia players, and Mafia roles no longer commit suicide after leaving.
- Quitbots will report what happened to them the previous night during night chat if they were roleblocked, controlled by a Witch, attacked and healed, or similar unless jailed (they can't tell the difference between really getting attacked and being hypnotized, but since they'll report both that they were attacked and transported or the Hyponotist will know they were Witched if that's how that works it's possible to make an educated guess). They will report what happened the last night they were not jailed if they end up jailed and not executed for whatever reason.
- Quitbots will not commit suicide even if all other members of the Mafia are dead and have quit, though they'll stop bothering to say anything in night chat if there are no living player Mafia left.
- Quitbots do not speak while dead, jailed, or during the day.
- Quitbots do not leave Last Wills, and if a Last Will was written, will automatically erase it.
- Quitbots which can be controlled by remaining players will rattle off a canned statement explaining their controls (usually involving a role specific word and a number, like "check 9" for Consigliere to investigate Player 9 or "disguise 3 and 4" for Disguiser to disguise Player 3 as Player 4) the first night after they replace a player and are not jailed.
- If the remaining living Mafia players all vote against one target during the day, the Quitbot will also vote for that target. It will vote Guilty by default unless one of the same Mafia members say "inno" or "innocent" in the chat.
Example of making suggestions for Quitbots
- Lydia Dustin (1), the Godfather, is executed by the Jailor.
- Quitty McGee (12), the Mafioso-turned-Godfather, quits.
- Quitty McGee (12) is not jailed, so the quitbot randomly decides to attack William Phips (3).
- Thomas Danforth (6), the Consigliere, says "kill 9", and so the quitbot decides to attack William Hobbs (9) instead.
- Thomas Danforth or the other Mafia, if there is one, could alternately say "don't kill", and Quitty McGee would decide to not attack anyone. This is useful if it is in the Mafia's best interest to fake a deadlock for whatever reason.
This example is reasonably applicable to the other roles as well, with contexts changed.
Godfather/Mafioso
- If a player Godfather/Mafioso is alive and not jailed, the Quitbot will echo their choice, idling if they do not choose a target. If there is no player Godfather/Mafioso (whether because they died or both left at once) or they are jailed, then the Quitbot will pick a random target to attack if not given a suggestion. Both the Godfather and Mafioso Quitbots will take suggestions with the "kill <number>" syntax, but can also be directed separately by using "godfather kill <number>" and "mafioso kill <number>" instead if that seems like a good idea at the time.
Disguiser
- The Quitbot will wait for most of the night for a suggestion before acting, then if no suggestion is given, disguise a member of the Mafia who has decided to take an action as a random target. Its priority list, highest to lowest, is Forger, Framer, Hypnotist, Consort, Consigliere, Blackmailer, Disguiser, Ambusher, Godfather, Mafioso, then Janitor.
Forger
- The Quitbot will not act without being given a suggestion due to the role's limited actions unless there are no living player Mafia left, in which case it will just pick the same target as the Godfather/Mafioso and choose a random town-role forgery (excluding Coven-specific roles outside of the Coven game mode). If there is also a Janitor Quitbot which can still clean in this situation, then it will idle and let the Janitor Quitbot act instead.
Framer
- The Quitbot will pick a random target to frame if not given a suggestion.
Hypnotist
- The Quitbot will not act without being given a suggestion due to the many possible outcomes available. If there are no living player Mafia left, it will pick a random target and pick among a small pool of messages.
Janitor
- The Quitbot will not act without being given a suggestion due to the role's limited actions unless there are no living player Mafia left, in which case it will just pick the same target as the Godfather/Mafioso. (While it is better to clean a quitter than the Mafia target if possible, that doesn't seem like something a Quitbot should know about without having it suggested)
Ambusher
- The Quitbot will pick a random target to ambush at if not given a suggestion.
Blackmailer
- The Quitbot will pick a random target to blackmail, and repeatedly blackmail that target until they die, leave, cannot be blackmailed (whether by the Quitbot being roleblocked or the target being jailed) or a suggestion to blackmail somebody else is given. If their streak is broken, they will pick a random target again the next available night.
Consigliere
- At the start of the first night after its player has quit, the Quitbot will state the investigation results the player had received, if any, then will pick a target at random excluding anyone it thinks it or the player before it has already successfully investigated ("it thinks" meaning that it will take a successful visit at face value even if the target was transported as long as it didn't find a Mafia role). At the start of the next night, it will state the result of its investigation and pick another random target. If there are no targets left that it does not think it has already investigated, it will state as much and idle but can still be suggested to double-check someone. If there are no living player Mafia left, it will idle since Quitbots are blind to role priority when left alone.
Consort
- The Quitbot will pick a random target to distract if not given a suggestion.
Now I know this is wordy, and it's probably a pretty rough concept, but think of this as more a framework to start a discussion than a complete idea. Some things could be talked over or adjusted, such as Quitbot Janitors not knowing that cleaning quitters is a good play, their intentional ignorance of role priority and what, if any exceptions to that rule should be implemented, or whether or not it should be announced that the player they took over for was at some point replaced by a Quitbot if they're lynched or killed for whatever other reason, maybe by writing in their Will the day or night the player quit instead of having a completely blank Will.
So, now it's someone else's turn to talk.
---
Also, since I got an Edited tag from correcting a couple slip-ups after someone else posted, I'll fold other points from responses into this post too.
Witch Interactions - The Witch will be notified of a Mafia member quitting if they have controlled that Mafia member previously. So if the Witch controls Quitty McGee on Night 1 and he quits on Day 2, the Witch will be notified. If instead the Witch first controls Quitty McGee after he quits (I.E. Quitty McGee instead quits on Day 1 and is controlled on Night 1), the Witch will receive an extra message to the tune of "You noticed that your target seemed hollow, in some way...", then they will see the disconnect icon next to Quitty McGee's name for the rest of the round.