some other random tests

This commit is contained in:
rhearmas 2019-12-11 13:44:59 -05:00
parent d4696b15a3
commit 3fb1334b40

View file

@ -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"
};