14 lines
490 B
JavaScript
14 lines
490 B
JavaScript
|
module.exports = async (client) => {
|
||
|
|
||
|
console.log(`${client.user.tag} oberve les ${client.guilds.cache.map(g => g.memberCount).reduce((a,b) => a + b)} utilisateur du serveur !`)
|
||
|
|
||
|
let activites = ['Créer par Lantium#9402 !',`Downloader prêt !` ], i = 0;
|
||
|
setInterval(() => client.user.setPresence({
|
||
|
activities: [{
|
||
|
name: `${activites [i++ % activites.length]}`,
|
||
|
type: 'PLAYING'
|
||
|
}],
|
||
|
status: 'online' }),
|
||
|
5000);
|
||
|
};
|