bulk delete

I am using bulk delete and if there only 5 messages in the channel but I try to delete 100 it sends unkown message error as the other 95 messages its trying to delete arnt there as there are only 5 msgs if the user wants it to delete 50 messages for example, but only 25 messages have been sent, itll throw the Unknown Message error another 25 times
2 Replies
d.js toolkit
d.js toolkit16mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - 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! - Marked as resolved by staff
Want results from more Discord servers?
Add your server