summaryrefslogtreecommitdiff
path: root/commands/ask.js
blob: a87cb8aead0f88476ca6fea1c12245563ba60096 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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.")
}
}