mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 00:23:17 +00:00
Update ready.js
This commit is contained in:
parent
1cc363d6c8
commit
3166c44ac8
@ -10,7 +10,7 @@ module.exports = {
|
|||||||
client.global.db.playlists[guildData.id] = guildData.d;
|
client.global.db.playlists[guildData.id] = guildData.d;
|
||||||
});
|
});
|
||||||
console.log('- DB Set -');
|
console.log('- DB Set -');
|
||||||
client.user.setActivity(`@musix help | 🎶`, { type: 'LISTENING' });
|
client.user.setActivity(`@${client.user.username} help | 🎶`, { type: 'LISTENING' });
|
||||||
client.user.setStatus('dnd');
|
client.user.setStatus('dnd');
|
||||||
dbl.postStats(client.guilds.size);
|
dbl.postStats(client.guilds.size);
|
||||||
console.log('- Activated -');
|
console.log('- Activated -');
|
||||||
@ -18,7 +18,7 @@ module.exports = {
|
|||||||
client.guilds.forEach(guild => {
|
client.guilds.forEach(guild => {
|
||||||
users += guild.memberCount;
|
users += guild.memberCount;
|
||||||
})
|
})
|
||||||
let status = [`${users} users on ${client.guilds.size} guilds!`, '@musix help | 🎶'];
|
let status = [`${users} users on ${client.guilds.size} guilds!`, `@${client.user.username} help | 🎶`];
|
||||||
let i = 0;
|
let i = 0;
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
if (i == status.length) {
|
if (i == status.length) {
|
||||||
|
Loading…
Reference in New Issue
Block a user