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