summaryrefslogtreecommitdiff
path: root/src/commands/ask.js
blob: d3d0f4ad366b15b143a2b2b40bd81f452d3cf0a6 (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
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',
  };