summaryrefslogtreecommitdiff
path: root/bot_discord.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot_discord.js')
-rw-r--r--bot_discord.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/bot_discord.js b/bot_discord.js
index fab5d7c..775a1e7 100644
--- a/bot_discord.js
+++ b/bot_discord.js
@@ -225,6 +225,13 @@ client.on('guildDelete', guild => {
});
+dbl.on('posted', () => {
+ log('Server count posted!'.blue);
+})
+
+dbl.on('error', e => {
+ log(`[X | DBL ERROR] ${e}`.red);
+})
client.on('message', (msg) => {
if (msg.author.bot) return;
@@ -310,5 +317,5 @@ log("[X | UNCAUGHT PROMISE] " + err.stack.red);
});
process.on('uncaughtException', function (exception) {
- log(exception.red);
+ log("[X | UNCAUGHT EXCEPTION]" + exception.red);
});