mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 02:53:31 +01:00
added debugging
This commit is contained in:
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user