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 | |
| parent | 80bb069022f4093eef81c9897b2c8e8e6ab07d34 (diff) | |
| download | AleeBot-ac2c40b0eb76dc462462d129982217cd0c47178b.tar.gz AleeBot-ac2c40b0eb76dc462462d129982217cd0c47178b.tar.bz2 AleeBot-ac2c40b0eb76dc462462d129982217cd0c47178b.zip | |
Added some DBL eventsv2.11.2
| -rw-r--r-- | bot_discord.js | 9 | ||||
| -rw-r--r-- | storage/settings.json | 2 |
2 files changed, 9 insertions, 2 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);
});
diff --git a/storage/settings.json b/storage/settings.json index d332db6..8440772 100644 --- a/storage/settings.json +++ b/storage/settings.json @@ -1,4 +1,4 @@ { - "abVersion": "2.11.1", + "abVersion": "2.11.2", "prefix": "abb:" } |
