Remove 1 and 2

This commit is contained in:
Dragon Fire
2020-11-07 11:36:48 -05:00
parent 59c61f5201
commit 46883da01e
+2 -2
View File
@@ -44,7 +44,7 @@ module.exports = class WouldYouRatherCommand extends Command {
this.client.games.delete(msg.channel.id);
return msg.reply(stripIndents`
No response? Too bad.
1 ${formatNumber(data.option1_total)} - ${formatNumber(data.option2_total)} 2
${formatNumber(data.option1_total)} - ${formatNumber(data.option2_total)}
`);
}
const option1 = msgs.first().content.toLowerCase() === '1';
@@ -53,7 +53,7 @@ module.exports = class WouldYouRatherCommand extends Command {
this.client.games.delete(msg.channel.id);
return msg.reply(stripIndents`
**${Math.round((numToUse / totalVotes) * 100)}%** of people agree!
1 ${formatNumber(data.option1_total)} - ${formatNumber(data.option2_total)} 2
${formatNumber(data.option1_total)} - ${formatNumber(data.option2_total)}
`);
} catch (err) {
this.client.games.delete(msg.channel.id);