From 8dfcf2917c4ddebb701044c54dc73f3f72265eae Mon Sep 17 00:00:00 2001 From: Alee14 Date: Sat, 24 Mar 2018 16:16:19 -0400 Subject: 2.1.0 Release (#17) * Started working on 2.1.0 * 2.1.0 Release --- src/commands/ask.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/commands/ask.js (limited to 'src/commands/ask.js') diff --git a/src/commands/ask.js b/src/commands/ask.js new file mode 100644 index 0000000..d3d0f4a --- /dev/null +++ b/src/commands/ask.js @@ -0,0 +1,30 @@ +module.exports.run = async (client, message, args) => { + let abaskanswer = [ + "Yes.", + "Nope. Just kidding :P", + "Definitely!", + "No.", + "Yep. Just kidding :P", + "I doubt it.", + "Maybe?", + "I don't know?", + "Hmm let me think :thinking:" + ]; + if (args[1]) { + message.channel.sendMessage(abaskanswer[Math.floor(Math.random() * abaskanswer.length)]); + } else { + message.channel.sendMessage("Sorry, I don't know what your saying.") + } + }; + + exports.conf = { + aliases: ['8ball'], + guildOnly: false, + }; + exports.help = { + name: 'ask', + description: 'Give AleeBot a question!', + usage: 'ask [args]', + category: '- Fun Commands', + }; + \ No newline at end of file -- cgit v1.2.3