From 3fb1334b406b78550c5f40e549b0febab9f987e1 Mon Sep 17 00:00:00 2001 From: rhearmas <34490428+qu-ota@users.noreply.github.com> Date: Wed, 11 Dec 2019 13:44:59 -0500 Subject: [PATCH] some other random tests --- commands/Fun/color.js | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/commands/Fun/color.js b/commands/Fun/color.js index 5d1443a..a702e87 100644 --- a/commands/Fun/color.js +++ b/commands/Fun/color.js @@ -1,18 +1,22 @@ exports.run = async (client, message, args, level) => { - const response = await client.awaitReply(message, "Favourite Color?"); - message.reply(`Oh, I really love ${response} too!`); + const response = await client.awaitReply(message, "Hey, what's your favorite color?"); + if(response !== "black") { + message.reply(`Oh, I really love ${response} too!`); + } else { + message.reply(`you like ${response}? Disgusting.`); + } } exports.conf = { - enabled: true, - guildOnly: false, - aliases: [], - permLevel: "User" + enabled: true, + guildOnly: false, + aliases: [], + permLevel: "User" }; exports.help = { - name: "color", - category: "Fun", - description: "Who likes a color?", - usage: "color" + name: "color", + category: "Fun", + description: "Who likes a color?", + usage: "color" }; \ No newline at end of file