Added updateMessage

This commit is contained in:
hydrabolt
2015-10-31 23:23:48 +00:00
parent a333548c00
commit 4b4b7d6a47
8 changed files with 180 additions and 36 deletions

View File

@@ -9,7 +9,9 @@ a.on("message", m => {
if(m.content === "$$$")
a.reply(m, "hi man!")
.then( m => {
a.deleteMessage(m);
a.updateMessage(m, "!!!").then( m => {
a.updateMessage(m, "the old content was " + m.content);
});
});
});