diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-02-25 21:58:31 -0500 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-02-25 21:58:31 -0500 |
| commit | 2b83e842fea1c9cab7abbe45154a1f140e26f990 (patch) | |
| tree | d5632015dbc0f28a56ee1295d0d32d92378b6204 /commands/Fun/findmyphone.js | |
| parent | 6d17517b4543afbf5100b55619efc8a6d8f3c754 (diff) | |
| download | PokeBot-2b83e842fea1c9cab7abbe45154a1f140e26f990.tar.gz PokeBot-2b83e842fea1c9cab7abbe45154a1f140e26f990.tar.bz2 PokeBot-2b83e842fea1c9cab7abbe45154a1f140e26f990.zip | |
Basic music commands
Diffstat (limited to 'commands/Fun/findmyphone.js')
| -rw-r--r-- | commands/Fun/findmyphone.js | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/commands/Fun/findmyphone.js b/commands/Fun/findmyphone.js index 482ceb3..1575917 100644 --- a/commands/Fun/findmyphone.js +++ b/commands/Fun/findmyphone.js @@ -1,4 +1,4 @@ -/**************************************** +/** ************************************** * * FindMyPhone: Plugin for PokeBot that "helps you find your phone". * Copyright (C) 2018 TheEdge, jtsshieh, Alee @@ -19,30 +19,29 @@ * *************************************/ exports.run = (bot, msg) => { - const cities = [ - 'Aurora', - 'Montgomery', - 'Chandler', - 'Boise', - 'Fresno', - 'Lubbock', - 'Miami', - 'Stockton', - 'Colorado Springs', - 'Portland', - 'Cincinnati', - ]; + const cities = [ + 'Aurora', + 'Montgomery', + 'Chandler', + 'Boise', + 'Fresno', + 'Lubbock', + 'Miami', + 'Stockton', + 'Colorado Springs', + 'Portland', + 'Cincinnati', + ]; - msg.channel.send(cities[Math.floor(Math.random() * cities.length)]); - }; - - exports.conf = { - aliases: ['findphone', 'findmyiphone', 'findmyandroid', 'findmyandroidphone'], - guildOnly: true, - }; - - exports.help = { - name: 'findmyphone', - description: 'Find your phone. Not just a random list of cities being randomly picked.', - }; -
\ No newline at end of file + msg.channel.send(cities[Math.floor(Math.random() * cities.length)]); +}; + +exports.conf = { + aliases: ['findphone', 'findmyiphone', 'findmyandroid', 'findmyandroidphone'], + guildOnly: true, +}; + +exports.help = { + name: 'findmyphone', + description: 'Find your phone. Not just a random list of cities being randomly picked.', +}; |
