Added support for server unavailability

it happened just now RIP discord server </3
This commit is contained in:
hydrabolt
2015-09-27 17:05:17 +01:00
parent 5fa7bace10
commit 223753408c
3 changed files with 20 additions and 0 deletions

View File

@@ -30,6 +30,14 @@ mybot.on("message", function (message) {
mybot.on("ready", function () {
console.log("im ready");
});
mybot.on("debug", function(info){
console.log(info);
})
mybot.on("unavailable", function(info){
console.log("warning!", info);
})
function dump(msg) {