Skip to content
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

Merged
merged 6 commits into from
May 5, 2023

Conversation

advaith1
Copy link
Contributor

@Victorsitou
Copy link
Contributor

I'm getting a 403 error when modifying safety_alerts_channel_id, is it because it's not released yet?

@Jupith
Copy link
Contributor

Jupith commented Dec 22, 2022

blob documenting experiments smh smh

@advaith1
Copy link
Contributor Author

join raid alerts are out to 30% of communities, 50% with 5k+, and all partners [rollout]

DonovanDMC added a commit to OceanicJS/Oceanic that referenced this pull request Dec 22, 2022
@typpo typpo added the not released This issue or PR is referencing a change that is not yet widely released and/or subject to change. label Dec 22, 2022
@@ -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 |
Copy link
Contributor

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 🤔

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any update on this?

Copy link
Contributor

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.

Copy link
Contributor

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tysm hemu!

| 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 |
Copy link
Contributor

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.

Copy link
Contributor Author

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?

Copy link
Member

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.

Copy link
Contributor Author

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

@onerandomusername
Copy link
Contributor

This has rolled out to all guilds some time ago, are there any plans to merge the documentation?

@hemu hemu merged commit 7467461 into discord:main May 5, 2023
KubaZ2 added a commit to NetCordDev/NetCord that referenced this pull request May 11, 2023
lukellmann added a commit to kordlib/kord that referenced this pull request Jun 11, 2023
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
lukellmann added a commit to kordlib/kord that referenced this pull request Jun 11, 2023
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
Gelbpunkt added a commit to twilight-rs/twilight that referenced this pull request Jun 13, 2023
…tion (#2204)

API documentation: discord/discord-api-docs#5778

Co-authored-by: Jens Reidel <adrian@travitia.xyz>
lukellmann added a commit to kordlib/kord that referenced this pull request Jun 17, 2023
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
Nihlus added a commit to Remora/Remora.Discord that referenced this pull request Jun 17, 2023
VelvetToroyashi pushed a commit to VelvetToroyashi/Remora.Discord that referenced this pull request Jun 17, 2023
@bsian03 bsian03 mentioned this pull request Jan 17, 2024
55 tasks
shaydewael pushed a commit to Jupith/discord-api-docs that referenced this pull request May 14, 2024
Document join raid and mention raid protection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not released This issue or PR is referencing a change that is not yet widely released and/or subject to change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants