mirror of
https://github.com/Alee14/AleeBot.git
synced 2025-01-23 19:42:04 -05:00
39 lines
708 B
JavaScript
39 lines
708 B
JavaScript
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]'
|
|
|
|
};
|