mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
Finished embeds
This commit is contained in:
@@ -40,6 +40,11 @@ mybot.once("ready", function () {
|
||||
|
||||
});
|
||||
|
||||
mybot.on("messageUpdate", function(newMessage, oldMessage){
|
||||
// links and videos will create a loop
|
||||
mybot.reply(newMessage, JSON.stringify(newMessage.embeds, null, 4));
|
||||
})
|
||||
|
||||
mybot.on("serverUpdate", function (oldserver, newserver) {
|
||||
console.log("server changed! " + mybot.servers.length);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user