-
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 join raid and mention raid protection #5778
Conversation
I'm getting a 403 error when modifying |
blob documenting experiments smh smh |
join raid alerts are out to 30% of communities, 50% with 5k+, and all partners [rollout] |
@@ -695,6 +700,7 @@ Modify a guild's settings. Requires the `MANAGE_GUILD` permission. Returns the u | |||
| features | array of [guild feature](#DOCS_RESOURCES_GUILD/guild-object-guild-features) strings | enabled guild features | | |||
| description | ?string | the description for the guild | | |||
| premium_progress_bar_enabled | boolean | whether the guild's boost progress bar should be enabled | | |||
| safety_alerts_channel_id | ?snowflake | the id of the channel where admins and moderators of Community guilds receive safety alerts from Discord | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not able to set this to null once set 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any update on this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea this seems to follow existing pattern of at least one other channel field where the way to set it to null
is by passing in the guild id. I'll look into changing it so that passing null
is enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated so you can pass null
, will go live either later today or Monday
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tysm hemu!
docs/resources/Guild.md
Outdated
| COMMUNITY | Administrator | Enables Community Features in the guild | | ||
| DISCOVERABLE | Administrator* | Enables discovery in the guild, making it publicly listed | | ||
| INVITES_DISABLED | Manage Guild | Pauses all invites/access to the server | | ||
| RAID_ALERTS_ENABLED | Manage Guild | Enables alerts for join raids | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the RAID_ALERTS_ENABLED
feature still used? Now, the RAID_ALERTS_DISABLED
feature is present when raid alerts are disabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm that might be right, looks like servers still have RAID_ALERTS_ENABLED
but it seems to not be used anymore; can staff clarify this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We switched the behavior to be opt-out, so RAID_ALERTS_DISABLED
is the right thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hellsan631 thanks for the clarification! I've updated the PR and replaced the guild feature
This has rolled out to all guilds some time ago, are there any plans to merge the documentation? |
The DSL looks like this: val rule = guild.createMentionSpamAutoModerationRule("name", mentionLimit = 20) { mentionRaidProtectionEnabled = true blockMessage() enabled = true } println(rule.isMentionRaidProtectionEnabled) see discord/discord-api-docs#5778 and discord/discord-api-docs#6133
The DSL looks like this: val rule = guild.createMentionSpamAutoModerationRule("name") { mentionRaidProtectionEnabled = true blockMessage() enabled = true } println(rule.isMentionRaidProtectionEnabled) see discord/discord-api-docs#5778 and discord/discord-api-docs#6133
…tion (#2204) API documentation: discord/discord-api-docs#5778 Co-authored-by: Jens Reidel <adrian@travitia.xyz>
The DSL looks like this: val rule = guild.createMentionSpamAutoModerationRule("name") { mentionRaidProtectionEnabled = true blockMessage() enabled = true } println(rule.isMentionRaidProtectionEnabled) see discord/discord-api-docs#5778 and discord/discord-api-docs#6133
Document join raid and mention raid protection
https://support.discord.com/hc/en-us/articles/10989121220631