From c8d50b62582ea9e186f9c59e7b8a1dc90be93a11 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sun, 2 Sep 2018 12:20:25 +0000 Subject: [PATCH] Max of 10 points in quiz duel --- commands/games/quiz-duel.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/commands/games/quiz-duel.js b/commands/games/quiz-duel.js index be4793bb..ccf935bb 100644 --- a/commands/games/quiz-duel.js +++ b/commands/games/quiz-duel.js @@ -22,7 +22,9 @@ module.exports = class QuizDuelCommand extends Command { key: 'maxPts', label: 'maximum amount of points', prompt: 'What amount of points should determine the winner?', - type: 'integer' + type: 'integer', + min: 1, + max: 10 } ] }); diff --git a/package.json b/package.json index 9e736b2b..08d9e197 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "88.4.1", + "version": "88.4.2", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {