This commit is contained in:
Dragon Fire
2020-10-12 16:41:54 -04:00
parent 12497d492f
commit 66ebace5b1
@@ -25,11 +25,11 @@ module.exports = class WillYouPressTheButtonCommand extends Command {
try { try {
const dilemma = await this.fetchDilemma(); const dilemma = await this.fetchDilemma();
await msg.reply(stripIndents` await msg.reply(stripIndents`
**${dilemma.txt1}** but **${dilemma.txt2}**. Will you press the button? **${dilemma.txt1}** but **${dilemma.txt2}** Will you press the button?
_Respond with [y]es or [n]o to continue._ _Respond with [y]es or [n]o to continue._
`); `);
const verification = await verify(msg.channel, msg.author); const verification = await verify(msg.channel, msg.author);
if (!verification) return msg.reply('No response? Too bad.'); if (verification === 0) return msg.reply('No response? Too bad.');
await this.postResponse(dilemma.id, verification); await this.postResponse(dilemma.id, verification);
const totalVotes = dilemma.yes + dilemma.no; const totalVotes = dilemma.yes + dilemma.no;
return msg.reply(stripIndents` return msg.reply(stripIndents`