discord.js
discord.js copied to clipboard
feat: v13 safety alerts channel and mention raid protection
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
- Add mention raid protection feature to auto moderation rules (link, link, link, link, link, link)
- Add safety alerts channel feature to guilds (link, link, link, link, link)
Status and versioning classification:
The latest updates on your projects. Learn more about Vercel for Git ↗︎
@jaw0r3k is attempting to deploy a commit to the discordjs Team on Vercel.
A member of the Team first needs to authorize it.