From 2292ebcd1b2e6246682659620a37133299ee4e9c Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 6 May 2020 10:00:53 -0400 Subject: [PATCH] Support more answer variations in lie-swatter --- commands/games-mp/lie-swatter.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/games-mp/lie-swatter.js b/commands/games-mp/lie-swatter.js index 9935e97e..2b8aa1d5 100644 --- a/commands/games-mp/lie-swatter.js +++ b/commands/games-mp/lie-swatter.js @@ -4,8 +4,8 @@ const { stripIndents } = require('common-tags'); const Collection = require('@discordjs/collection'); const { delay } = require('../../util/Util'); const { SUCCESS_EMOJI_ID } = process.env; -const trueOptions = ['true', 'yes', 'the truth']; -const falseOptions = ['false', 'lie', 'no', 'a lie']; +const trueOptions = ['true', 'yes', 'the truth', 't', 'tru', 'tr', 'y', 'ye']; +const falseOptions = ['false', 'lie', 'no', 'a lie', 'f', 'fals', 'fal', 'fa', 'n', 'l']; module.exports = class LieSwatterCommand extends Command { constructor(client) { diff --git a/package.json b/package.json index 2781c8a7..8a426d3a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "114.6.2", + "version": "114.6.3", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {