oops; change "presidential election" to "senate"
This commit is contained in:
parent
358b904871
commit
cc9fb21fbc
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,8 @@ if (!config.token) {
|
||||||
var demcandidate = i.options.get('demcandidate')?.value as string || "Democrats";
|
var demcandidate = i.options.get('demcandidate')?.value as string || "Democrats";
|
||||||
var result = await MakePrediction(Number(i.options.get('bias')?.value), gopcandidate, demcandidate, simulationtype, 0);
|
var result = await MakePrediction(Number(i.options.get('bias')?.value), gopcandidate, demcandidate, simulationtype, 0);
|
||||||
var embed = new EmbedBuilder()
|
var embed = new EmbedBuilder()
|
||||||
.setTitle("2024 United States Presidential Election Simulator")
|
.setTitle("2024 United States Senate Simulator")
|
||||||
.setDescription(`The CalubViem Press has called the 2024 United States Presidential Election for ${result.winner}!`)
|
.setDescription(`The CalubViem Press has called the 2024 United States Senate for ${result.winner}!`)
|
||||||
.addFields(
|
.addFields(
|
||||||
{name: `${result.winner === gopcandidate ? ":white_check_mark:" : ""} ${gopcandidate}`, value: `${result.gopVotes} seats`, inline: true},
|
{name: `${result.winner === gopcandidate ? ":white_check_mark:" : ""} ${gopcandidate}`, value: `${result.gopVotes} seats`, inline: true},
|
||||||
{name: `${result.winner === demcandidate ? ":white_check_mark:" : ""} ${demcandidate}`, value: `${result.demVotes} seats`, inline: true},
|
{name: `${result.winner === demcandidate ? ":white_check_mark:" : ""} ${demcandidate}`, value: `${result.demVotes} seats`, inline: true},
|
||||||
|
|
Loading…
Reference in a new issue