summaryrefslogtreecommitdiff
path: root/commands/ask.js
blob: 89ce8911fb403dac74b6aa481e8080c507e4b6f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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.")
}
}
exports.conf = {
  enabled: true,

  guildOnly: false,

  aliases: [],

  permLevel: 0

};

exports.help = {

  name: 'ask',

  description: 'Go ask AleeBot a question let\'s see what AleeBot\'s response!',

  usage: 'ask [args]'

};