aboutsummaryrefslogtreecommitdiff
path: root/events/ready.js
blob: 51156904699537ee5be9346245faf622e08ec27b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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',
    ];

    bot.user.setPresence({
      status: 'online',
      afk: false,
      game: {
        type: 0,
        name: games[Math.floor(Math.random() * games.length)],
      },
    });
  }, 200000);
};