mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 21:40:51 +02:00
Poker 3-6 players
This commit is contained in:
@@ -407,7 +407,7 @@ Total: 417
|
|||||||
* **gunfight:** Engage in a western gunfight against another user. High noon.
|
* **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.
|
* **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.
|
* **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.
|
* **quiz-duel:** Answer a series of quiz questions against an opponent.
|
||||||
* **russian-roulette:** Who will pull the trigger and die first?
|
* **russian-roulette:** Who will pull the trigger and die first?
|
||||||
* **tic-tac-toe:** Play a game of tic-tac-toe with another user.
|
* **tic-tac-toe:** Play a game of tic-tac-toe with another user.
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ const { stripIndents } = require('common-tags');
|
|||||||
const Deck = require('../../structures/cards/Deck');
|
const Deck = require('../../structures/cards/Deck');
|
||||||
const { formatNumber, list, delay } = require('../../util/Util');
|
const { formatNumber, list, delay } = require('../../util/Util');
|
||||||
const { SUCCESS_EMOJI_ID } = process.env;
|
const { SUCCESS_EMOJI_ID } = process.env;
|
||||||
const max = 4;
|
const max = 6;
|
||||||
const min = 2;
|
const min = 3;
|
||||||
const bigBlindAmount = 100;
|
const bigBlindAmount = 100;
|
||||||
const smallBlindAmount = 50;
|
const smallBlindAmount = 50;
|
||||||
const raiseRegex = /raise (\$?([0-9]+)?,?[0-9]+)/i;
|
const raiseRegex = /raise (\$?([0-9]+)?,?[0-9]+)/i;
|
||||||
@@ -18,7 +18,7 @@ module.exports = class PokerCommand extends Command {
|
|||||||
aliases: ['texas-hold-em'],
|
aliases: ['texas-hold-em'],
|
||||||
group: 'games-mp',
|
group: 'games-mp',
|
||||||
memberName: 'poker',
|
memberName: 'poker',
|
||||||
description: 'Play poker with up to 3 other users.',
|
description: `Play poker with up to ${max - 1} other users.`,
|
||||||
guildOnly: true,
|
guildOnly: true,
|
||||||
args: [
|
args: [
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "114.9.0",
|
"version": "114.9.1",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user