Add debug logging for created channels

master
Miikka Virtanen 2017-01-01 06:17:47 +02:00
parent 491ed67e24
commit 831eb77380
1 changed files with 4 additions and 0 deletions

View File

@ -535,6 +535,10 @@ bot.registerCommand('logs', (msg, args) => {
}); });
}); });
bot.on('channelCreate', channel => {
console.log(`[NOTE] Got channel creation event for #${channel.name} (ID ${channel.id})`);
});
bot.connect(); bot.connect();
/* /*