diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-02-24 12:39:29 -0500 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-02-24 12:39:29 -0500 |
| commit | fed743c6f589bed63470ec3904486619c4ded00e (patch) | |
| tree | 668fb08942768670661e1c3653d6f3ffe0f81b74 /commands | |
| parent | f6c8b39a13753a6b065f1582d447e1a9a8732154 (diff) | |
| download | PokeBot-fed743c6f589bed63470ec3904486619c4ded00e.tar.gz PokeBot-fed743c6f589bed63470ec3904486619c4ded00e.tar.bz2 PokeBot-fed743c6f589bed63470ec3904486619c4ded00e.zip | |
Fixed
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/cureboredom.js | 50 |
1 files 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', +}; |
