update guides

This commit is contained in:
Domin-MND
2023-10-23 23:22:25 +03:00
parent 13fcf7ddc9
commit 8b6e283810
4 changed files with 65 additions and 21 deletions

View File

@@ -35,7 +35,9 @@ function TheButton() {
const publicReply = event.reply(`${name} clicked the button. wow`)
setTimeout(() => publicReply.destroy(), 3000)
const privateReply = event.ephemeralReply("good job, you clicked it")
const privateReply = event.reply("good job, you clicked it", {
ephemeral: true,
})
privateReply.deactivate() // we don't need to listen to updates on this
}