Changed the presence back

This commit is contained in:
Andrew Lee 2018-03-25 20:01:36 -04:00
parent 97483e5e5c
commit f7c057cac9

View file

@ -63,24 +63,12 @@ client.on('ready', () => {
console.log('[>] AleeBot is now ready!'); console.log('[>] AleeBot is now ready!');
console.log('[i] Running version ' + abVersion + ` and in ${client.guilds.size} guilds`); 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({ client.user.setPresence({
status: 'online',
afk: false,
game: { game: {
name: 'AleeBot ' + abVersion + ' | ' + config.prefix + 'help',
type: 0, type: 0,
name: games[Math.floor(Math.random() * games.length)],
}, },
}); });
}, 200000);
client.user.setStatus('online'); client.user.setStatus('online');
}); });