aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
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) => {