diff options
| author | Alee <alee14498@gmail.com> | 2018-03-29 15:42:24 -0400 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-03-29 15:42:24 -0400 |
| commit | 4bfdff40646c653f2c391a79f82ea2c85645ecb3 (patch) | |
| tree | 39dbb827e93e1a43d845e3b70b88567116ce4e49 | |
| parent | a6979e0ac8dbafa5cfe10510d6c8ad0e7e10cf74 (diff) | |
| download | AleeBot-4bfdff40646c653f2c391a79f82ea2c85645ecb3.tar.gz AleeBot-4bfdff40646c653f2c391a79f82ea2c85645ecb3.tar.bz2 AleeBot-4bfdff40646c653f2c391a79f82ea2c85645ecb3.zip | |
Adding these back
| -rw-r--r-- | bot_discord.js | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/bot_discord.js b/bot_discord.js index 02d7a7d..f02745c 100644 --- a/bot_discord.js +++ b/bot_discord.js @@ -63,12 +63,24 @@ client.on('ready', () => { console.log('[>] AleeBot is now ready!');
console.log('[i] Running version ' + abVersion + ` and in ${client.guilds.size} guilds`);
- client.user.setPresence({
- game: {
- name: 'AleeBot ' + abVersion + ' | ' + config.prefix + 'help',
- type: 0,
- },
- });
+ 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.setStatus('online');
});
|
