aboutsummaryrefslogtreecommitdiff
path: root/commands/ask.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2020-05-22 20:36:26 -0400
committerAndrew Lee <alee14498@protonmail.com>2020-05-22 20:36:26 -0400
commitfc76d7c73ae9ffec6be86fc7d9d9e8c9a14605ab (patch)
tree0f4930fd8655e550c974bc404b93149cf7eab4ac /commands/ask.js
parentbbb982243b6564e526fb581f55946704cdf256a3 (diff)
downloadAleeBot-fc76d7c73ae9ffec6be86fc7d9d9e8c9a14605ab.tar.gz
AleeBot-fc76d7c73ae9ffec6be86fc7d9d9e8c9a14605ab.tar.bz2
AleeBot-fc76d7c73ae9ffec6be86fc7d9d9e8c9a14605ab.zip
Added more ALP exclusive logs & cleaning up code
Diffstat (limited to 'commands/ask.js')
-rw-r--r--commands/ask.js63
1 files changed, 31 insertions, 32 deletions
diff --git a/commands/ask.js b/commands/ask.js
index db9e10e..0bc0761 100644
--- a/commands/ask.js
+++ b/commands/ask.js
@@ -1,5 +1,5 @@
-/****************************************
- *
+/** **************************************
+ *
* Ask: Command for AleeBot
* Copyright (C) 2017-2020 Alee Productions
*
@@ -15,35 +15,34 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
+ *
* *************************************/
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
+ const 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',
+};