summaryrefslogtreecommitdiff
path: root/commands/ask.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/ask.js')
-rw-r--r--commands/ask.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/commands/ask.js b/commands/ask.js
new file mode 100644
index 0000000..a87cb8a
--- /dev/null
+++ b/commands/ask.js
@@ -0,0 +1,19 @@
+const Discord = require('discord.js');
+exports.run = (client, message, args, config) => {
+var 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.")
+}
+}