automoderationRules

2 Questions: - How can i fetch autorules with triggerType 1 - How to edit the rules (updating the keywordFilter)
3 Replies
d.js toolkit
d.js toolkit7mo 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!
d.js docs
d.js docs7mo ago
:method: AutoModerationRuleManager#fetch() Fetches auto moderation rules from Discord. :method: AutoModerationRule#edit() Edits this auto moderation rule.
Serial Designation N
is it possible to fetch rules with specific triggerType? I tried the edit thing but it doesnt work. Idk if i have done it correctly. Is there a code example to show me how to edit it right? It would help me a lot nvm i got it forgot to put "keywordFilter" into "triggerMetadata"
Want results from more Discord servers?
Add your server