This commit is contained in:
Daniel Odendahl Jr
2017-09-07 22:41:00 +00:00
parent 39dca2cfcb
commit 0e393b6d40
+1
View File
@@ -64,6 +64,7 @@ module.exports = class EmojiEmojiRevolutionCommand extends Command {
**${opponent.username}:** ${oPts}
`);
}
this.playing.delete(msg.channel.id);
if (aPts === oPts) return msg.say('It\'s a tie!');
return msg.say(`You win ${aPts > oPts ? msg.author : opponent} with ${aPts > oPts ? aPts : oPts} points!`);
} catch (err) {