ability to delete paid member request messae

imgbot
kieranrobson 2022-05-13 10:40:04 +01:00
parent 7a5887e96b
commit 9477bc8f79
1 changed files with 10 additions and 0 deletions

View File

@ -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});
}
}
})