diff options
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/cureboredom.js | 4 |
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)]); }; |
