diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-02-23 21:23:18 -0500 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-02-23 21:23:18 -0500 |
| commit | 3162a4132d36e36635135aefee76ba899694a043 (patch) | |
| tree | 4069282d7070b997166c783411a169c5e2159307 /bot.js | |
| parent | bf44f01bc2684fb3ffa7b01f4169a62568164f29 (diff) | |
| download | PokeBot-3162a4132d36e36635135aefee76ba899694a043.tar.gz PokeBot-3162a4132d36e36635135aefee76ba899694a043.tar.bz2 PokeBot-3162a4132d36e36635135aefee76ba899694a043.zip | |
New help
Diffstat (limited to 'bot.js')
| -rw-r--r-- | bot.js | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -8,21 +8,21 @@ bot.commands = new Discord.Collection(); bot.aliases = new Discord.Collection(); function setGame() { - var games = [ - "Pokemon", - "Catching things", - "Finding pokemons", - "Type p: for help" - ] + const games = [ + 'Pokemon', + 'Catching things', + 'Finding pokemons', + 'Type p: for help', + ]; bot.user.setPresence({ - status: 'online', - afk: false, - game: { - type: 0, - name: games[Math.floor(Math.random() * games.length)] - } - }) + status: 'online', + afk: false, + game: { + type: 0, + name: games[Math.floor(Math.random() * games.length)], + }, + }); } fs.readdir('./commands', (err, files) => { |
