1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-09-20 04:31:56 +00:00

Update ready.js

This commit is contained in:
MatteZ02 2020-02-27 08:32:06 +02:00
parent 7ba27dfbcf
commit 08a0adb3dd

View File

@ -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 -');