def METHOD_NAME(evt: Event, var: GameState, player: User, old_role: Optional[str]):
    if old_role == "doomsayer" and evt.data["role"] != "doomsayer":
        SEEN.discard(player)
        for name, mapping in _mappings:
            del mapping[:player:]