mirror of
https://github.com/Art-Portal/April.git
synced 2024-11-16 11:37:37 +01:00
Merge branch 'v4.5.3-beta' of https://github.com/Art-Portal/April into v4.5.3-beta
This commit is contained in:
commit
a788a5915a
@ -22,7 +22,7 @@ module.exports = {
|
||||
const notPinned = fetched.filter(fetchedMsg => !fetchedMsg.pinned);
|
||||
|
||||
await interaction.channel.bulkDelete(notPinned, true);
|
||||
await interaction.editReply({ content: `J'ai bien supprimé ${number} message${number>1 ? "s" : ""} dans ce salon`, ephemeral: true});
|
||||
await interaction.editReply({ content: `J'ai bien supprimé ${notPinned.size} message${notPinned.size>1 ? "s" : ""} dans ce salon`, ephemeral: true});
|
||||
} catch(err) {
|
||||
console.error(err);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user