mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
Added updateMessage
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user