From 08a0adb3dde78389ddd8e1a7fae71e93461c76d7 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Thu, 27 Feb 2020 08:32:06 +0200 Subject: [PATCH] Update ready.js --- events/ready.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/events/ready.js b/events/ready.js index 121d348d..326ca683 100644 --- a/events/ready.js +++ b/events/ready.js @@ -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 -');