mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
Beep
This commit is contained in:
@@ -34,6 +34,7 @@ module.exports = class CardsAgainstHumanityCommand extends Command {
|
|||||||
try {
|
try {
|
||||||
await msg.say('You will need at least 2 more players, at maximum 20. To join, type `join game`.');
|
await msg.say('You will need at least 2 more players, at maximum 20. To join, type `join game`.');
|
||||||
const awaitedPlayers = await awaitPlayers(msg, 20, 3);
|
const awaitedPlayers = await awaitPlayers(msg, 20, 3);
|
||||||
|
if (!awaitedPlayers) return msg.say('Game could not be started...');
|
||||||
const players = new Map();
|
const players = new Map();
|
||||||
let i = 1;
|
let i = 1;
|
||||||
for (const player of awaitedPlayers) {
|
for (const player of awaitedPlayers) {
|
||||||
|
|||||||
Reference in New Issue
Block a user