diff --git a/events/interactionCreate.js b/events/interactionCreate.js index b3286bd..428a324 100644 --- a/events/interactionCreate.js +++ b/events/interactionCreate.js @@ -63,5 +63,15 @@ client.on("interactionCreate", async (interaction) => { ) client.modal.open(interaction, modal) } + + if(interaction.customId == "paidmemberdelete") + { + await interaction.message.delete(); + await interaction.reply({ content: 'Message has been deleted', ephemeral: true}); + } + + + + } }) \ No newline at end of file