From c648f47f889ee2dbfae0c896493c13efcd295b99 Mon Sep 17 00:00:00 2001 From: TheEdgeNK Date: Tue, 10 Jul 2018 18:29:55 -0400 Subject: HA HA --- events/message.js | 2 +- events/ready.js | 27 ++++++++------------------- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/events/message.js b/events/message.js index 238d95e..447f9e4 100644 --- a/events/message.js +++ b/events/message.js @@ -28,7 +28,7 @@ module.exports = (bot, msg) => { function parseCommand(bot, msg) { let category; - const prefix = 'p:'; + const prefix = 'g:'; if (msg.author.bot) return; if (!msg.content.startsWith(prefix)) return; diff --git a/events/ready.js b/events/ready.js index 9c30717..12e491e 100644 --- a/events/ready.js +++ b/events/ready.js @@ -9,23 +9,12 @@ module.exports = (bot) => { console.log('PokeBot has finished loading.'); - bot.setInterval(function() { - const games = [ - 'Pokemon', - 'Catching things', - 'Finding pokemon', - 'Type p:help for help', - 'Fighting AstralMod', - 'Arrays start at 1', - ]; - - bot.user.setPresence({ - status: 'online', - afk: false, - game: { - type: 0, - name: games[Math.floor(Math.random() * games.length)], - }, - }); - }, 200000); + bot.user.setPresence({ + status: 'online', + afk: false, + game: { + type: 0, + name: 'v2.0 Alpha 1 - g:', + }, + }); }; -- cgit v1.2.3