-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Document Blocking Words in Member Profiles Automod #6040
Conversation
Trigger Metadata would have changes too. Looks like it can be used for |
Co-authored-by: Puncher <[email protected]>
Looks like 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"
}
} |
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 😓 |
0147d13
to
ad1e7c4
Compare
@jaw0r3k Is it possible to resolve the conflicts that it can be merged? |
28f5d9a
to
797a64e
Compare
797a64e
to
6e0df74
Compare
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? |
The DSL for creating/editing MemberProfileAutoModerationRules looks like this: val rule = guild.createMemberProfileAutoModerationRule("name") { anywhereKeyword("cat") regexPattern("^b(a|@)d\$w(o|0)rd(s|$)") allowPrefixKeyword("black cat") blockMemberInteraction() sendAlertMessage(channelId) enabled = true } println(rule) See discord/discord-api-docs#6040
The DSL for creating/editing MemberProfileAutoModerationRules looks like this: val rule = guild.createMemberProfileAutoModerationRule("name") { anywhereKeyword("cat") regexPattern("^b(a|@)d\$w(o|0)rd(s|$)") allowPrefixKeyword("black cat") blockMemberInteraction() sendAlertMessage(channelId) enabled = true } println(rule) See discord/discord-api-docs#6040
The DSL for creating/editing MemberProfileAutoModerationRules looks like this: val rule = guild.createMemberProfileAutoModerationRule("name") { anywhereKeyword("cat") regexPattern("^b(a|@)d\$w(o|0)rd(s|$)") allowPrefixKeyword("black cat") blockMemberInteraction() sendAlertMessage(channelId) enabled = true } println(rule) See discord/discord-api-docs#6040
The DSL for creating/editing MemberProfileAutoModerationRules looks like this: val rule = guild.createMemberProfileAutoModerationRule("name") { anywhereKeyword("cat") regexPattern("^b(a|@)d\$w(o|0)rd(s|$)") allowPrefixKeyword("black cat") blockMemberInteraction() sendAlertMessage(channelId) enabled = true } println(rule) See discord/discord-api-docs#6040
The DSL for creating/editing MemberProfileAutoModerationRules looks like this: val rule = guild.createMemberProfileAutoModerationRule("name") { anywhereKeyword("cat") regexPattern("^b(a|@)d\$w(o|0)rd(s|$)") allowPrefixKeyword("black cat") blockMemberInteraction() sendAlertMessage(channelId) enabled = true } println(rule) See discord/discord-api-docs#6040
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