From 3162a4132d36e36635135aefee76ba899694a043 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 23 Feb 2018 21:23:18 -0500 Subject: New help --- bot.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'bot.js') 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) => { -- cgit v1.2.3