From 2a17d82b61d3a7de8165a53ab922326753ecad5f Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 26 Jul 2018 21:45:21 -0400 Subject: [PATCH] Join draw-cards with \n instead --- commands/random/draw-cards.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/random/draw-cards.js b/commands/random/draw-cards.js index 7c843df8..e93dd60a 100644 --- a/commands/random/draw-cards.js +++ b/commands/random/draw-cards.js @@ -17,7 +17,7 @@ module.exports = class DrawCardsCommand extends Command { label: 'hand size', prompt: 'How many cards do you want to draw?', type: 'integer', - max: 20, + max: 10, min: 1 }, { @@ -36,7 +36,7 @@ module.exports = class DrawCardsCommand extends Command { if (!this.deck) this.deck = this.generateDeck(); let cards = this.deck; if (!jokers) cards = cards.filter(card => !card.includes('Joker')); - return msg.reply(shuffle(cards).slice(0, amount).join(', ')); + return msg.reply(shuffle(cards).slice(0, amount).join('\n')); } generateDeck() { diff --git a/package.json b/package.json index 00aad4f3..c0130ece 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "85.5.0", + "version": "85.5.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {