mirror of
https://github.com/Mestima/luna.git
synced 2025-06-27 20:59:32 +00:00
clear command add reply deleting after 3 seconds
This commit is contained in:
@ -22,5 +22,10 @@ export default {
|
||||
.setTitle(`Deleted ${amount} messages in total`)
|
||||
.setColor(interaction.member.displayColor);
|
||||
await interaction.reply({ embeds: [ embed ] });
|
||||
setTimeout(async () => {
|
||||
try {
|
||||
await interaction.deleteReply();
|
||||
} catch (e) {}
|
||||
}, 3000);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user