-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Auto Moderation #1709
Comments
New event: |
event? I think its an audit log action type |
Ahh yeah I misread it, it's an "audit log event". |
The source PR has been merged. |
7596ff
added a commit
that referenced
this issue
Jun 16, 2022
Adds auto moderation models. Part of #1709.
7596ff
added a commit
that referenced
this issue
Jun 30, 2022
Adds auto moderation models. Part of #1709.
2 tasks
2 tasks
7596ff
added a commit
that referenced
this issue
Jul 16, 2022
Add `Event::AutoModerationActionExectuion`, `Event::AutoModerationRuleCreate`, `Event::AutoModerationRuleDelete`, `Event::AutoModerationRuleUpdate`, respective payloads, and `DispatchEvent`, `EventType`, and `EventTypeFlags` variants. Add `AuditLog::auto_moderation_rules`. Add `guild::auto_moderation` types: - `AutoModerationAction` - `AutoModerationActionMetadata` - `AutoModerationActionType` - `AutoModerationEventType` - `AutoModerationKeywordPresetType` - `AutoModerationTriggerMetadata` - `AutoModerationTriggerType` Add `id::AutoModerationRuleMarker`. Part of #1709.
7596ff
added a commit
that referenced
this issue
Oct 28, 2022
Closes #1709. Closes #1867. Changelog --------- Remove `TriggerType::HarmfulLink`, add `TriggerType::MentionSpam`. Add requests `CreateAutoModerationRule`, `DeleteAutoModerationRule`, `GetAutoModerationRule`, `GetGuildAutoModerationRules`, and `UpdateAutoModerationRule`. `CreateAutoModerationRule` ensures the correct trigger metadata is supplied by replacing `exec` with `with_trigger_keyword`, `with_spam`, and `with_trigger_keyword_preset`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Docs PRs:
Progress:
AUTO_MODERATION_CONFIGURATION
(1 << 20
) andAUTO_MODERATION_EXECUTION
(1 << 21
)auto_moderation_message
(Its a string instead an enum, so there is nothing to change)AUTO_MODERATION
guild feature flagAUTO_MODERATION_RULE_CREATE
(140)AUTO_MODERATION_RULE_UPDATE
(141)AUTO_MODERATION_RULE_DELETE
(142)AUTO_MODERATION_BLOCK_MESSAGE
(143)The text was updated successfully, but these errors were encountered: