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