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": {