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
feat: Auto Moderation #7938
feat: Auto Moderation #7938
Conversation
Are we expecting far more documentation upstream? Seems like there's a lot missing from the Discord implementation like API endpoints, something on the Guild structure to store them etc |
|
7e50773
to
a4ec0f8
Compare
This comment was marked as spam.
This comment was marked as spam.
cdc39a4
to
0bb52ad
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
6510b42
to
d302d63
Compare
d6a7f5e
to
9cc9a45
Compare
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 think the changes I put should be good, as I don't think the spaces are necessary.
f64ea83
to
9c20ee7
Compare
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.
Seeing as some endpoints are not available in most (if not all) guilds it would be nice to add a warning for that
packages/discord.js/src/client/actions/AutoModerationActionExecution.js
Outdated
Show resolved
Hide resolved
packages/discord.js/src/structures/AutoModerationActionExecution.js
Outdated
Show resolved
Hide resolved
packages/discord.js/src/structures/AutoModerationActionExecution.js
Outdated
Show resolved
Hide resolved
5a33f1e
to
df9734e
Compare
Co-authored-by: GoldenAngel <50855202+GoldenAngel2@users.noreply.github.com>
Co-authored-by: Aura Román <kyradiscord@gmail.com>
4558f82
to
d9e4027
Compare
🤖 Generated by Copilot at e4c1f63
Summary
🛡️🚨🧩
This pull request implements auto moderation functionality for discord.js, by adding new classes, events, actions, handlers, and types related to auto moderation rules and actions. It also updates the existing structures and constants to support the new features, and modifies the bug report template to include the new events.
Walkthrough
AutoModerationRuleManager
,AutoModerationActionExecution
andAutoModerationRule
classes from theindex.js
file (link, link)AutoModerationRule
class from thestructures
folder to theAutoModerationActionExecution
andGuildAuditLogsEntry
classes (link, link)AutoModerationRuleManager
class from themanagers
folder to theGuild
class (link)APITypes.js
file (link)