aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-02-23 21:23:18 -0500
committerUnknown <jtsshieh@outlook.com>2018-02-23 21:23:18 -0500
commit3162a4132d36e36635135aefee76ba899694a043 (patch)
tree4069282d7070b997166c783411a169c5e2159307 /bot.js
parentbf44f01bc2684fb3ffa7b01f4169a62568164f29 (diff)
downloadPokeBot-3162a4132d36e36635135aefee76ba899694a043.tar.gz
PokeBot-3162a4132d36e36635135aefee76ba899694a043.tar.bz2
PokeBot-3162a4132d36e36635135aefee76ba899694a043.zip
New help
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/bot.js b/bot.js
index d0b26e1..d9cb1b0 100644
--- a/bot.js
+++ b/bot.js
@@ -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) => {