diff options
| author | Alee <alee14498@gmail.com> | 2018-07-07 22:24:53 -0400 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-07-07 22:24:53 -0400 |
| commit | ac2c40b0eb76dc462462d129982217cd0c47178b (patch) | |
| tree | e3e1c8b8c7a710a459baf00ca470edd15b09452f /bot_discord.js | |
| parent | 80bb069022f4093eef81c9897b2c8e8e6ab07d34 (diff) | |
| download | AleeBot-2.11.2.tar.gz AleeBot-2.11.2.tar.bz2 AleeBot-2.11.2.zip | |
Added some DBL eventsv2.11.2
Diffstat (limited to 'bot_discord.js')
| -rw-r--r-- | bot_discord.js | 9 |
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);
});
|
