aboutsummaryrefslogtreecommitdiff
path: root/commands/ask.js
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-03-25 09:36:32 -0400
committerAlee <alee14498@gmail.com>2018-03-25 09:36:32 -0400
commit9f39777642b3f44386df711afeab6490dc508007 (patch)
tree90789522e4920934ff0012129525c18c6768953b /commands/ask.js
parent07fe0f9f68d078881c44ddeaadbf09212f089727 (diff)
downloadAleeBot-9f39777642b3f44386df711afeab6490dc508007.tar.gz
AleeBot-9f39777642b3f44386df711afeab6490dc508007.tar.bz2
AleeBot-9f39777642b3f44386df711afeab6490dc508007.zip
Moved all source files
Diffstat (limited to 'commands/ask.js')
-rw-r--r--commands/ask.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/commands/ask.js b/commands/ask.js
new file mode 100644
index 0000000..d3d0f4a
--- /dev/null
+++ b/commands/ask.js
@@ -0,0 +1,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',
+ };
+ \ No newline at end of file