From 39ee98b0eae4be528b1b07adc6bd109665350aa9 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 18 Apr 2017 21:18:41 +0000 Subject: [PATCH] Lol I can do this --- commands/imageedit/meme.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/imageedit/meme.js b/commands/imageedit/meme.js index 1e0da124..1773e2e4 100644 --- a/commands/imageedit/meme.js +++ b/commands/imageedit/meme.js @@ -18,7 +18,7 @@ module.exports = class MemeCommand extends Command { prompt: 'What meme type do you want to use?', type: 'string', validate: type => { - if (memecodes.some(memeArray => type.toLowerCase() === memeArray)) { + if (memecodes.includes(type.toLowerCase())) { return true; } return 'Please enter a valid meme type. Use `;help meme` to view a list of types.'; diff --git a/package.json b/package.json index 4b077cc0..ce3dcd54 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "28.0.0", + "version": "28.0.1", "description": "A Discord Bot", "main": "shardingmanager.js", "scripts": {