mirror of
https://github.com/Alee14/AleeBot.git
synced 2025-01-23 03:31:47 -05:00
Changed the presence back
This commit is contained in:
parent
97483e5e5c
commit
f7c057cac9
1 changed files with 6 additions and 18 deletions
|
@ -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');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue