mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 00:04:48 +02:00
Always make the player lose if the opponent is a bot
This commit is contained in:
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "109.2.2",
|
||||
"version": "109.2.3",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user