Always make the player lose if the opponent is a bot

This commit is contained in:
Dragon Fire
2019-12-10 17:25:16 -05:00
parent 6cf7ae85f0
commit f1b82c7907
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -53,7 +53,8 @@ module.exports = class RussianRouletteCommand extends Command {
`);
const keepGoing = await verify(msg.channel, opponent.bot ? msg.author : notPlayer);
if (!keepGoing) {
winner = player;
if (opponent.bot) winner = opponent;
else winner = player;
quit = true;
}
round++;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "109.2.2",
"version": "109.2.3",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {