#Do I need to manually check if each message in an Array is bulkDeletable?

3 messages · Page 1 of 1 (latest)

pseudo heart
#

I am currently writing a purge command for my bot, I mean, app, and I came across the Message property bulkDeletable. Do I need to loop through my finalized Array and check the Messages individually against the permissions of the interaction's caller?

solid basaltBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
pseudo heart