mirror of
https://github.com/Mestima/luna.git
synced 2025-05-05 21:50:15 +00:00
clear command add reply deleting after 3 seconds
This commit is contained in:
parent
4721f305ba
commit
874ad26c03
@ -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);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user