aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpokesudenk <thisis@notarealema.il>2018-02-24 12:40:48 -0500
committerpokesudenk <thisis@notarealema.il>2018-02-24 12:40:48 -0500
commit93aad984238819f1aece9648bf3eba1ed24eb1a9 (patch)
tree83a82b65a7ed21325afcb1e9ab7551f038a3278f
parentfed743c6f589bed63470ec3904486619c4ded00e (diff)
downloadPokeBot-93aad984238819f1aece9648bf3eba1ed24eb1a9.tar.gz
PokeBot-93aad984238819f1aece9648bf3eba1ed24eb1a9.tar.bz2
PokeBot-93aad984238819f1aece9648bf3eba1ed24eb1a9.zip
trey cant cod, but he did this
-rw-r--r--commands/cureboredom.js4
1 files changed, 1 insertions, 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)]);
};