mirror of
https://github.com/musix-org/musix-oss
synced 2025-01-11 04:54:48 +00:00
Update ready.js
This commit is contained in:
parent
2e31350def
commit
96c9552660
@ -14,16 +14,6 @@ module.exports = {
|
|||||||
client.user.setStatus('dnd');
|
client.user.setStatus('dnd');
|
||||||
dbl.postStats(client.guilds.size);
|
dbl.postStats(client.guilds.size);
|
||||||
console.log('- Activated -');
|
console.log('- Activated -');
|
||||||
let status = [`${client.guilds.size} guilds!`, `@${client.user.username} help | 🎶`];
|
|
||||||
let i = 0;
|
|
||||||
setInterval(() => {
|
|
||||||
if (i == status.length) {
|
|
||||||
i = 0;
|
|
||||||
}
|
|
||||||
client.user.setActivity(status[i], { type: 'LISTENING' });
|
|
||||||
i++;
|
|
||||||
users = 0;
|
|
||||||
}, 30000);
|
|
||||||
setInterval(async () => {
|
setInterval(async () => {
|
||||||
client.guilds.forEach(guild => {
|
client.guilds.forEach(guild => {
|
||||||
client.db.collection('guilds').doc(guild.id).set({
|
client.db.collection('guilds').doc(guild.id).set({
|
||||||
|
Loading…
Reference in New Issue
Block a user