mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 08:10:18 +00:00
Update ready.js
This commit is contained in:
parent
7ba27dfbcf
commit
08a0adb3dd
@ -25,9 +25,12 @@ module.exports = {
|
|||||||
client.user.setStatus('online');
|
client.user.setStatus('online');
|
||||||
const dbl = new DBL(client.config.dblKey, client);
|
const dbl = new DBL(client.config.dblKey, client);
|
||||||
if (client.config.dblApi && !client.config.devMode) {
|
if (client.config.dblApi && !client.config.devMode) {
|
||||||
|
dbl.on('posted', () => {
|
||||||
|
console.log('Server count posted!');
|
||||||
|
});
|
||||||
dbl.on('error', error => {
|
dbl.on('error', error => {
|
||||||
console.log('Error with DBL: ' + error);
|
console.log('Error with DBL: ' + error);
|
||||||
})
|
});
|
||||||
dbl.postStats(client.guilds.size);
|
dbl.postStats(client.guilds.size);
|
||||||
}
|
}
|
||||||
console.log('- Activated -');
|
console.log('- Activated -');
|
||||||
|
Loading…
Reference in New Issue
Block a user