Amount of messages deleted

Hello, how do you get the amount of messages that were successfully deleted with bulkDelete()? Is there a way to see this in the docs for future reference as well?
3 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Idris
Idris2y ago
it returns a Promise with a Collection of deleted message apply .size on the Collection
Skuffies
Skuffies2y ago
Thank you! pepePray