From fed743c6f589bed63470ec3904486619c4ded00e Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 24 Feb 2018 12:39:29 -0500 Subject: Fixed --- commands/cureboredom.js | 50 ++++++++++++++++++++++++------------------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/commands/cureboredom.js b/commands/cureboredom.js index 3a2ead8..e029b0b 100644 --- a/commands/cureboredom.js +++ b/commands/cureboredom.js @@ -1,28 +1,26 @@ exports.run = (bot, msg, args) => { - if (args[0] === 'list') { - msg.channel.send(ideas.join('\n')); - }; - - - const ideas = [ - 'Pokemon Go to the polls :ballot_box:', - 'Consuming Maccas :fries:', - 'Fighting AstralMod :right_facing_fist:', - 'Joining a team :handshake:', - 'Have a battle :crossed_swords:', - ]; + const ideas = [ + 'Pokemon Go to the polls :ballot_box:', + 'Consuming Maccas :fries:', + 'Fighting AstralMod :right_facing_fist:', + 'Joining a team :handshake:', + 'Have a battle :crossed_swords:', + ]; - msg.channel.send(ideas[Math.floor(Math.random() * ideas.length)]); - }; - - exports.conf = { - aliases: [], - guildOnly: true, - }; - - exports.help = { - name: 'cureboredom', - description: 'Finds you something to do.', - category: 'Fun', - }; - \ No newline at end of file + if (args[0] === 'list') { + msg.channel.send(ideas.join('\n')); + } + + msg.channel.send(ideas[Math.floor(Math.random() * ideas.length)]); +}; + +exports.conf = { + aliases: [], + guildOnly: true, +}; + +exports.help = { + name: 'cureboredom', + description: 'Finds you something to do.', + category: 'Fun', +}; -- cgit v1.2.3