added debugging

This commit is contained in:
hydrabolt
2015-08-18 21:08:04 +01:00
parent 4fc859bcbe
commit f990c8a1cc
2 changed files with 29 additions and 5 deletions

View File

@@ -24,6 +24,11 @@ var hydrabot = new Discord.Client();
var commandPrefixes = [ "$", "£", "`" ];
// Log the client in using the auth details in config.json
hydrabot.on("debug", function(m){
console.log("debug", m);
})
console.time("hydrabotbenchmark");
hydrabot.login( BotConfig.email, BotConfig.password );