From f7c057cac9b9d60aa1ecb021b85845c21faa4baa Mon Sep 17 00:00:00 2001 From: Alee Date: Sun, 25 Mar 2018 20:01:36 -0400 Subject: [PATCH] Changed the presence back --- bot_discord.js | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/bot_discord.js b/bot_discord.js index a08a9ef..1773b31 100644 --- a/bot_discord.js +++ b/bot_discord.js @@ -63,24 +63,12 @@ client.on('ready', () => { console.log('[>] AleeBot is now ready!'); console.log('[i] Running version ' + abVersion + ` and in ${client.guilds.size} guilds`); - client.setInterval(function() { - const games = [ - 'AleeBot ' + abVersion + ' | ' + config.prefix + 'help', - 'Annoying Alee', - 'Coding stuff', - 'Drawing shapes', - 'Fighting AstralMod', - ]; - - client.user.setPresence({ - status: 'online', - afk: false, - game: { - type: 0, - name: games[Math.floor(Math.random() * games.length)], - }, - }); - }, 200000); + client.user.setPresence({ + game: { + name: 'AleeBot ' + abVersion + ' | ' + config.prefix + 'help', + type: 0, + }, + }); client.user.setStatus('online'); });