feat: backport automod

This commit is contained in:
March 7th 2023-01-14 18:05:40 +07:00
parent 4fa5088afa
commit 2ecf50b131
2 changed files with 3 additions and 1 deletions

View File

@ -248,6 +248,7 @@ class Guild extends AnonymousGuild {
* * SEVEN_DAY_THREAD_ARCHIVE * * SEVEN_DAY_THREAD_ARCHIVE
* * PRIVATE_THREADS * * PRIVATE_THREADS
* * ROLE_ICONS * * ROLE_ICONS
* * AUTO_MODERATION
* @typedef {string} Features * @typedef {string} Features
* @see {@link https://discord.com/developers/docs/resources/guild#guild-object-guild-features} * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-guild-features}
*/ */

3
typings/index.d.ts vendored
View File

@ -6098,7 +6098,8 @@ export type GuildFeatures =
| 'THREE_DAY_THREAD_ARCHIVE' | 'THREE_DAY_THREAD_ARCHIVE'
| 'SEVEN_DAY_THREAD_ARCHIVE' | 'SEVEN_DAY_THREAD_ARCHIVE'
| 'PRIVATE_THREADS' | 'PRIVATE_THREADS'
| 'ROLE_ICONS'; | 'ROLE_ICONS'
| 'AUTO_MODERATION';
export interface GuildMemberEditData { export interface GuildMemberEditData {
nick?: string | null; nick?: string | null;