mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
added channelCreate listener
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user