mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix Lint
This commit is contained in:
@@ -30,7 +30,7 @@ module.exports = class UsElectionCommand extends Command {
|
||||
try {
|
||||
const { winners, simulations } = await this.getList();
|
||||
const chances = Object.entries(winners)
|
||||
.map(([canidate, chances]) => `**${canidate}:** ${chances} in ${simulations}`);
|
||||
.map(([canidate, chance]) => `**${canidate}:** ${chance} in ${simulations}`);
|
||||
return msg.say(stripIndents`
|
||||
__**Chances of Winning the 2020 US Presidential Election (Accoring to FiveThirtyEight):**__
|
||||
${chances.join('\n')}
|
||||
|
||||
Reference in New Issue
Block a user