discord-api-docs
discord-api-docs copied to clipboard
Document Blocking Words in Member Profiles Automod
The automod rule was added today as alpha
Update: at the beginning of June this feature was moved to beta
I am not sure about naming it, so any suggestions will be appreciated
Trigger Metadata would have changes too.
Looks like it can be used for keyword_filter
, regex_patterns
and allow_list
:
Looks like AuditLogEntry.options.channel_id
in audit log entries with the new Automod trigger/event type can now be an empty string over REST (seems like a bug?) and null in gw events:
rest
{
"audit_log_entries": [
{
"id": "1234",
"user_id": "1234",
"target_id": "1234",
"action_type": 144,
"options": {
"auto_moderation_rule_name": "Member Profile Custom Keywords List",
"auto_moderation_rule_trigger_type": "6",
"channel_id": ""
},
"reason": "Message was flagged by AutoMod"
}
]
}
gateway
{
"t": "GUILD_AUDIT_LOG_ENTRY_CREATE",
"s": 13,
"op": 0,
"d": {
"user_id": "1234",
"target_id": "1234",
"reason": "Message was flagged by AutoMod",
"options": {
"channel_id": null,
"auto_moderation_rule_trigger_type": "6",
"auto_moderation_rule_name": "Member Profile Custom Keywords List"
},
"id": "1234",
"action_type": 144,
"guild_id": "1234"
}
}
Looks like AuditLogEntry.options.channel_id in audit log entries with the new Automod trigger/event type can now be an empty string over REST (seems like a bug?) and null in gw events:
its just in alpha so it probably is a bug
removed the not released label since this was released this week, but there's a conflict in AutoMod file 😓
@jaw0r3k Is it possible to resolve the conflicts that it can be merged?
How long is this feature going to be in beta? Should libraries add support or not?
Has this feature been forgotten? @shaydewael what's blocking this?