mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Added CHANNEL_UPDATE listener
This commit is contained in:
@@ -18,8 +18,8 @@ a.on("message", function (m) {
|
||||
a.reply(m, srv);
|
||||
});
|
||||
});
|
||||
a.on("channelCreated", function (channel) {
|
||||
console.log(channel);
|
||||
a.on("channelUpdated", function (o, n) {
|
||||
a.sendMessage(o, o.name + " v " + n.name);
|
||||
});
|
||||
|
||||
a.login(process.env["discordEmail"], process.env["discordPass"])["catch"](function (e) {
|
||||
|
||||
Reference in New Issue
Block a user