discord.js icon indicating copy to clipboard operation
discord.js copied to clipboard

feat: v13 safety alerts channel and mention raid protection

Open jaw0r3k opened this issue 2 years ago • 2 comments

Please describe the changes this PR makes and why it should be merged: Backports:

  • #8959

🤖 Generated by Copilot at 40244ae

Summary

🛡️🗣️🚨

This pull request adds two new features to the discord.js library: mention raid protection and safety alerts channel. Mention raid protection allows the user to create and edit rules that automatically moderate spam attacks that mention many users or roles in a guild. Safety alerts channel allows the user to access and edit the channel where Discord sends notifications about potential threats to the guild's security. The pull request modifies the AutoModerationRuleManager, AutoModerationRule, and Guild classes, and the GuildEditData type, to implement these features.

AutoModeration Protects from mention raids A new feature blooms

Walkthrough

Status and versioning classification:

jaw0r3k avatar Jan 16 '23 17:01 jaw0r3k

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) May 7, 2023 0:02am
discord-js-guide ⬜️ Ignored (Inspect) May 7, 2023 0:02am

vercel[bot] avatar Jan 16 '23 17:01 vercel[bot]

@jaw0r3k is attempting to deploy a commit to the discordjs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jan 16 '23 17:01 vercel[bot]