Finishing applications

This commit is contained in:
2023-03-12 23:45:13 +01:00
parent 6dbea712d9
commit ad37b8f960
6 changed files with 360 additions and 178 deletions

View File

@@ -0,0 +1,17 @@
module.exports = {
name: 'applicationdelete',
description: 'Delete an application channel.',
type: 'button',
async execute(interaction) {
const channel = interaction.channel;
await interaction.reply('Application channel will be deleted in 5 seconds');
setTimeout(async () => {
await channel.delete();
}, 5000);
}
};