From 93aad984238819f1aece9648bf3eba1ed24eb1a9 Mon Sep 17 00:00:00 2001 From: pokesudenk Date: Sat, 24 Feb 2018 12:40:48 -0500 Subject: trey cant cod, but he did this --- commands/cureboredom.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/commands/cureboredom.js b/commands/cureboredom.js index e029b0b..e011c80 100644 --- a/commands/cureboredom.js +++ b/commands/cureboredom.js @@ -7,9 +7,7 @@ exports.run = (bot, msg, args) => { 'Have a battle :crossed_swords:', ]; - if (args[0] === 'list') { - msg.channel.send(ideas.join('\n')); - } + if (args[0] === 'list') return msg.channel.send(ideas.join('\n')); msg.channel.send(ideas[Math.floor(Math.random() * ideas.length)]); }; -- cgit v1.2.3