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