diff options
| author | TheEdgeNK <trey6979@gmail.com> | 2018-07-10 18:29:55 -0400 |
|---|---|---|
| committer | TheEdgeNK <trey6979@gmail.com> | 2018-07-10 18:29:55 -0400 |
| commit | c648f47f889ee2dbfae0c896493c13efcd295b99 (patch) | |
| tree | 94ce7613f31e20edc83703b8015a7860a6f83355 /events | |
| parent | a73ff78266909481b6677eeb7fe8683c59480912 (diff) | |
| download | PokeBot-c648f47f889ee2dbfae0c896493c13efcd295b99.tar.gz PokeBot-c648f47f889ee2dbfae0c896493c13efcd295b99.tar.bz2 PokeBot-c648f47f889ee2dbfae0c896493c13efcd295b99.zip | |
HA HA
Diffstat (limited to 'events')
| -rw-r--r-- | events/message.js | 2 | ||||
| -rw-r--r-- | 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:', + }, + }); }; |
