ElectionsBot/src/elections/1789.ts

82 lines
1.9 KiB
TypeScript
Raw Normal View History

2024-06-04 02:30:04 -04:00
import { readFile } from "node:fs/promises";
import Election from "../election.js";
import VoteType from "../VoteType.js";
2024-06-04 02:30:04 -04:00
const Presidential_1789 = {
title: "1789 United States Presidential Election Simulator",
shortname: "1789",
description: "The CalubViem Press has rewritten history and called the 1789 United States Presidential Election for $WINNER!",
voteType: VoteType.Electoral,
2024-06-04 02:30:04 -04:00
svg: await readFile("assets/ElectoralCollege1789.svg", "utf-8"),
candidates: [
{
name: "George Washington",
party: "Independent",
color: "#bfab22",
}
],
states: {
"CT": {
electoralVotes: 7,
odds: {
"Independent": 1,
}
},
"DE": {
electoralVotes: 3,
odds: {
"Independent": 1,
}
},
"GA": {
electoralVotes: 5,
odds: {
"Independent": 1,
}
},
"MD": {
electoralVotes: 6,
odds: {
"Independent": 1,
}
},
"MA": {
electoralVotes: 10,
odds: {
"Independent": 1,
}
},
"NH": {
electoralVotes: 5,
odds: {
"Independent": 1,
}
},
"NJ": {
electoralVotes: 6,
odds: {
"Independent": 1,
}
},
"PA": {
electoralVotes: 10,
odds: {
"Independent": 1,
}
},
"SC": {
electoralVotes: 7,
odds: {
"Independent": 1,
}
},
"VA": {
electoralVotes: 10,
odds: {
"Independent": 1,
}
}
}
}
export default Presidential_1789 as Election;