add deletion in playground for testing

This commit is contained in:
MapleLeaf
2021-12-27 14:41:35 -06:00
parent 8db2a16305
commit e2f35c88a9

View File

@@ -21,7 +21,7 @@ createCommandHandler(client, [
description: "shows a counter button",
run: (interaction) => {
const reply = reacord.createCommandReply(interaction)
reply.render(<Counter onDeactivate={() => reply.deactivate()} />)
reply.render(<Counter onDeactivate={() => reply.destroy()} />)
},
},
{