From 92740c154260b98370acb857eb67b64b5488d61d Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 24 Apr 2020 21:05:36 -0400 Subject: [PATCH] More yes/no variations in verify --- package.json | 2 +- util/Util.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cc8b7707..621b516e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "113.17.0", + "version": "113.17.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": { diff --git a/util/Util.js b/util/Util.js index 59a9d2cc..c90e74f5 100644 --- a/util/Util.js +++ b/util/Util.js @@ -1,6 +1,6 @@ const crypto = require('crypto'); -const yes = ['yes', 'y', 'ye', 'yeah', 'yup', 'yea', 'ya']; -const no = ['no', 'n', 'nah', 'nope', 'nop']; +const yes = ['yes', 'y', 'ye', 'yeah', 'yup', 'yea', 'ya', 'hai', 'si', 'sí', 'oui', 'はい', 'correct']; +const no = ['no', 'n', 'nah', 'nope', 'nop', 'iie', 'いいえ', 'non', 'fuck off']; module.exports = class Util { static delay(ms) {