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

feat(APIAutoModeration): add support for auto moderation #418

Merged
merged 41 commits into from Oct 14, 2022

Conversation

vvito7
Copy link
Contributor

@vvito7 vvito7 commented May 1, 2022

@vladfrangu
Copy link
Member

You can add it to the embed type too

@vvito7 vvito7 changed the title feat(MessageType): add AutoModerationMessage feat: add AutoModerationMessage to MessageType and AutoModAlerts to EmbedType May 1, 2022
deno/payloads/v10/channel.ts Outdated Show resolved Hide resolved
@vvito7 vvito7 changed the title feat: add AutoModerationMessage to MessageType and AutoModAlerts to EmbedType feat: add AutoModerationMessage to MessageType and AutoModerationMessage to EmbedType May 1, 2022
deno/payloads/v10/channel.ts Outdated Show resolved Hide resolved
@Mateo-tem
Copy link
Contributor

Mateo-tem commented May 1, 2022

Oh, and don't forget to add AutoModeration, as a GuildFeature.

https://github.com/discordjs/discord-api-types/blob/main/payloads/v10/guild.ts#L457

AutoModeration = 'AUTO_MODERATION';

@vvito7 vvito7 changed the title feat: add AutoModerationMessage to MessageType and AutoModerationMessage to EmbedType feat: add support for auto moderation May 1, 2022
gateway/v10.ts Outdated Show resolved Hide resolved
@almeidx
Copy link
Member

almeidx commented Aug 15, 2022

Copy link
Member

@Jiralite Jiralite left a comment

Choose a reason for hiding this comment

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

Change the article also:

- Returned when a auto moderation rule...
+ Returned when an auto moderation rule...

gateway/v10.ts Outdated Show resolved Hide resolved
Copy link
Member

@almeidx almeidx left a comment

Choose a reason for hiding this comment

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

@suneettipirneni
Copy link
Member

New PR for regex: discord/discord-api-docs#5504

@vladfrangu
Copy link
Member

I'm gonna be annoying with this but uh...can you remove the regex PR from this PR so I can get this merged, and open a subsequent draft PR adding in regex? 😅

@vvito7
Copy link
Contributor Author

vvito7 commented Oct 14, 2022

Of course! Sorry for the delay
Working on it now

@vladfrangu vladfrangu changed the title feat: add support for auto moderation feat(APIAutoModeration): add support for auto moderation Oct 14, 2022
@vladfrangu vladfrangu merged commit b216f7a into discordjs:main Oct 14, 2022
@vladfrangu
Copy link
Member

Bless 🙏

@vvito7 vvito7 deleted the msg-type-for-automod branch October 14, 2022 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants