added channelCreate listener

This commit is contained in:
hydrabolt
2015-11-01 14:39:59 +00:00
parent 5eff07a80a
commit c173dcd2fe
6 changed files with 66 additions and 5 deletions

View File

@@ -18,8 +18,8 @@ a.on("message", function (m) {
a.reply(m, srv);
});
});
a.on("serverUpdated", function (oldsrv, newsrv) {
console.log(oldsrv.name, "v", newsrv.name);
a.on("channelCreated", function (channel) {
console.log(channel);
});
a.login(process.env["discordEmail"], process.env["discordPass"])["catch"](function (e) {