Lol I can do this

This commit is contained in:
Daniel Odendahl Jr
2017-04-18 21:18:41 +00:00
parent 5ec91d6728
commit 39ee98b0ea
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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.';
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "28.0.0",
"version": "28.0.1",
"description": "A Discord Bot",
"main": "shardingmanager.js",
"scripts": {