discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Document Blocking Words in Member Profiles Automod

Open jaw0r3k opened this issue 1 year ago • 7 comments

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

jaw0r3k avatar Apr 01 '23 12:04 jaw0r3k

Trigger Metadata would have changes too.

Looks like it can be used for keyword_filter, regex_patterns and allow_list:

image

Puncher1 avatar Apr 01 '23 12:04 Puncher1

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"
    }
}

shiftinv avatar Apr 02 '23 17:04 shiftinv

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

jaw0r3k avatar Apr 02 '23 19:04 jaw0r3k

removed the not released label since this was released this week, but there's a conflict in AutoMod file 😓

shaydewael avatar Jul 13 '23 18:07 shaydewael

@jaw0r3k Is it possible to resolve the conflicts that it can be merged?

Puncher1 avatar Oct 08 '23 16:10 Puncher1

How long is this feature going to be in beta? Should libraries add support or not?

MinnDevelopment avatar Nov 12 '23 10:11 MinnDevelopment

Has this feature been forgotten? @shaydewael what's blocking this?

MinnDevelopment avatar Mar 20 '24 18:03 MinnDevelopment