-
-
Notifications
You must be signed in to change notification settings - Fork 737
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
Introducing auto moderation #2159
Introducing auto moderation #2159
Conversation
Have not created http methods yet.
src/main/java/net/dv8tion/jda/api/entities/AutoModerationAction.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/entities/KeywordPresetType.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/internal/handle/AutoModerationRuleUpdateHandler.java
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/internal/handle/AutoModerationRuleCreateHandler.java
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/entities/BaseGuildMessageChannel.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/internal/entities/ActionMetadataImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/internal/entities/TriggerMetadataImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/events/automoderation/AutoModerationRuleCreateEvent.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/events/automoderation/GenericAutoModerationEvent.java
Outdated
Show resolved
Hide resolved
Update event left, plus Modify Auto Moderation Rule and Create Auto Moderation Rule methods
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 neglected going through and fixing every syntax inconsistency, but I hope the point is made. Also needs more docs. Looks good otherwise!
src/main/java/net/dv8tion/jda/api/events/automoderation/GenericAutoModerationEvent.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java
Outdated
Show resolved
Hide resolved
Got the point, and will clean it up tomorrow or today |
Includes how to create a rule
src/main/java/net/dv8tion/jda/api/entities/automod/build/AutoModerationMessageSend.java
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/entities/automod/build/AutoModerationMessageSend.java
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/entities/automod/build/AutoModerationMessageSend.java
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/entities/automod/build/AutoModerationMessageSend.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/entities/automod/build/sent/ExemptSubstrings.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/entities/automod/build/sent/GenericKeyWord.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/entities/automod/build/sent/GenericKeyWord.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/entities/automod/build/sent/GenericKeyWord.java
Outdated
Show resolved
Hide resolved
src/main/java/net/dv8tion/jda/api/entities/automod/build/sent/KeywordPreset.java
Outdated
Show resolved
Hide resolved
...ain/java/net/dv8tion/jda/api/events/automod/update/GenericAutoModerationUpdateRuleEvent.java
Outdated
Show resolved
Hide resolved
Dead PR ? |
@MinnDevelopment Planning on working on this pr now. Is there any point or shall I wait |
I won't have time to look into automod any time soon. But we might be interested in making a new PR from scratch in the future. Can't make any promises right now. |
Thank you for your effort, but we've decided on a different design. This PR will be superseded by #2429. |
Pull Request Etiquette
Changes
Closes Issue: NaN
Description
Discord introduced auto moderation and the addition of it in the docs can be found here https://discord.com/developers/docs/change-log#auto-moderation.
Example
To create an auto mod rule you would do