oops; change "presidential election" to "senate"

This commit is contained in:
dartz 2024-06-03 12:13:26 -07:00
parent 358b904871
commit cc9fb21fbc

View file

@ -72,8 +72,8 @@ if (!config.token) {
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 embed = new EmbedBuilder()
.setTitle("2024 United States Presidential Election Simulator")
.setDescription(`The CalubViem Press has called the 2024 United States Presidential Election for ${result.winner}!`)
.setTitle("2024 United States Senate Simulator")
.setDescription(`The CalubViem Press has called the 2024 United States Senate for ${result.winner}!`)
.addFields(
{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},