Finished embeds

This commit is contained in:
hydrabolt
2015-10-29 14:48:39 +00:00
parent cefbcd05af
commit 0938382e51
13 changed files with 146 additions and 28 deletions

View File

@@ -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);
})