How to delete all autoModerationRules rules in specific guild?

How to delete all autoModerationRules rules in specific guild?
5 Replies
d.js toolkit
d.js toolkit14mo 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 OP
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
Forhand.
Forhand.OP14mo ago
no I made a 10 empty servers to get automod badge How to cache autoModerationRules I used <guild>.autoModerationRules.cache but it returns Collection(0) [Map] {} I tried to use the map but it gives me an empty array.
Unknown User
Unknown User14mo ago
Message Not Public
Sign In & Join Server To View
Forhand.
Forhand.OP14mo ago
Thanks ❤️ it's cool looking actually
Want results from more Discord servers?
Add your server