From ddffb09c3fed83470a70b63e08a2d3fb0838fc1a Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 11 May 2020 15:38:09 -0400 Subject: [PATCH] Poker 3-6 players --- README.md | 2 +- commands/games-mp/poker.js | 6 +++--- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6b781800..1551c3dc 100644 --- a/README.md +++ b/README.md @@ -407,7 +407,7 @@ Total: 417 * **gunfight:** Engage in a western gunfight against another user. High noon. * **lie-swatter:** Players are given a fact and must quickly decide if it's True or a Lie. * **pick-a-number:** Two players pick a number between 1 and 10. Whoever's closer wins. -* **poker:** Play poker with up to 3 other users. +* **poker:** Play poker with up to 5 other users. * **quiz-duel:** Answer a series of quiz questions against an opponent. * **russian-roulette:** Who will pull the trigger and die first? * **tic-tac-toe:** Play a game of tic-tac-toe with another user. diff --git a/commands/games-mp/poker.js b/commands/games-mp/poker.js index 5de63fe9..9a9bc105 100644 --- a/commands/games-mp/poker.js +++ b/commands/games-mp/poker.js @@ -5,8 +5,8 @@ const { stripIndents } = require('common-tags'); const Deck = require('../../structures/cards/Deck'); const { formatNumber, list, delay } = require('../../util/Util'); const { SUCCESS_EMOJI_ID } = process.env; -const max = 4; -const min = 2; +const max = 6; +const min = 3; const bigBlindAmount = 100; const smallBlindAmount = 50; const raiseRegex = /raise (\$?([0-9]+)?,?[0-9]+)/i; @@ -18,7 +18,7 @@ module.exports = class PokerCommand extends Command { aliases: ['texas-hold-em'], group: 'games-mp', memberName: 'poker', - description: 'Play poker with up to 3 other users.', + description: `Play poker with up to ${max - 1} other users.`, guildOnly: true, args: [ { diff --git a/package.json b/package.json index a6b3e46a..423b1702 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "114.9.0", + "version": "114.9.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {