aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-02-24 12:41:17 -0500
committerUnknown <jtsshieh@outlook.com>2018-02-24 12:41:17 -0500
commitf1e068947f099e35460cf7df89b9b29228acfa11 (patch)
tree1359ccbbae679284467eb71a92d477a48b05d913 /commands
parentbec6fde1f990d6ece8953a57982fed53df58673b (diff)
parent93aad984238819f1aece9648bf3eba1ed24eb1a9 (diff)
downloadPokeBot-f1e068947f099e35460cf7df89b9b29228acfa11.tar.gz
PokeBot-f1e068947f099e35460cf7df89b9b29228acfa11.tar.bz2
PokeBot-f1e068947f099e35460cf7df89b9b29228acfa11.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'commands')
-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)]);
};