Skip to content

Commit

Permalink
Display number of voters.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Oct 30, 2024
1 parent fb76731 commit 4e48f14
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions commissar-user.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,6 @@ class CommissarUser {
getGenderPrefix() {
if (this.gender === 'F') {
return 'Madam';
} else if (this.gender === 'A') {
return 'The';
} else {
return 'Mr.';
}
Expand Down
2 changes: 1 addition & 1 deletion presidential-election.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ async function CountVotesAndAwardPresidency() {
};
const electionEndTimestamp = CalculateUnixTimestampOfElectionEndForThisMonth();
await headerMessage.edit({
content: `**Presidential Election**\nThe vote ends <t:${electionEndTimestamp}:R>`,
content: `**Presidential Election**\n${voteCount} voters. The vote ends <t:${electionEndTimestamp}:R>`,
files: [voteTallyAttachment],
});
let mrPresidentId;
Expand Down

0 comments on commit 4e48f14

Please sign in to comment.