diff --git a/deno/payloads/v10/auditLog.ts b/deno/payloads/v10/auditLog.ts index 7a4ad440..9f683f56 100644 --- a/deno/payloads/v10/auditLog.ts +++ b/deno/payloads/v10/auditLog.ts @@ -17,6 +17,7 @@ import type { GuildDefaultMessageNotifications, GuildExplicitContentFilter, GuildMFALevel, + GuildSystemChannelFlags, GuildVerificationLevel, IntegrationExpireBehavior, } from './guild.ts'; @@ -398,6 +399,7 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyRulesChannelId | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyStatus + | APIAuditLogChangeKeySystemChannelFlags | APIAuditLogChangeKeySystemChannelId | APIAuditLogChangeKeyTags | APIAuditLogChangeKeyTemporary @@ -543,6 +545,11 @@ export type APIAuditLogChangeKeyWidgetEnabled = AuditLogChangeData<'widget_enabl */ export type APIAuditLogChangeKeyWidgetChannelId = AuditLogChangeData<'widget_channel_id', Snowflake>; +/** + * Returned when a guild's system_channel_flags is changed + */ +export type APIAuditLogChangeKeySystemChannelFlags = AuditLogChangeData<'system_channel_flags', GuildSystemChannelFlags>; + /** * Returned when a guild's system_channel_id is changed */ diff --git a/deno/payloads/v9/auditLog.ts b/deno/payloads/v9/auditLog.ts index 7a4ad440..9f683f56 100644 --- a/deno/payloads/v9/auditLog.ts +++ b/deno/payloads/v9/auditLog.ts @@ -17,6 +17,7 @@ import type { GuildDefaultMessageNotifications, GuildExplicitContentFilter, GuildMFALevel, + GuildSystemChannelFlags, GuildVerificationLevel, IntegrationExpireBehavior, } from './guild.ts'; @@ -398,6 +399,7 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyRulesChannelId | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyStatus + | APIAuditLogChangeKeySystemChannelFlags | APIAuditLogChangeKeySystemChannelId | APIAuditLogChangeKeyTags | APIAuditLogChangeKeyTemporary @@ -543,6 +545,11 @@ export type APIAuditLogChangeKeyWidgetEnabled = AuditLogChangeData<'widget_enabl */ export type APIAuditLogChangeKeyWidgetChannelId = AuditLogChangeData<'widget_channel_id', Snowflake>; +/** + * Returned when a guild's system_channel_flags is changed + */ +export type APIAuditLogChangeKeySystemChannelFlags = AuditLogChangeData<'system_channel_flags', GuildSystemChannelFlags>; + /** * Returned when a guild's system_channel_id is changed */ diff --git a/payloads/v10/auditLog.ts b/payloads/v10/auditLog.ts index 25810eed..9021cce8 100644 --- a/payloads/v10/auditLog.ts +++ b/payloads/v10/auditLog.ts @@ -17,6 +17,7 @@ import type { GuildDefaultMessageNotifications, GuildExplicitContentFilter, GuildMFALevel, + GuildSystemChannelFlags, GuildVerificationLevel, IntegrationExpireBehavior, } from './guild'; @@ -398,6 +399,7 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyRulesChannelId | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyStatus + | APIAuditLogChangeKeySystemChannelFlags | APIAuditLogChangeKeySystemChannelId | APIAuditLogChangeKeyTags | APIAuditLogChangeKeyTemporary @@ -543,6 +545,11 @@ export type APIAuditLogChangeKeyWidgetEnabled = AuditLogChangeData<'widget_enabl */ export type APIAuditLogChangeKeyWidgetChannelId = AuditLogChangeData<'widget_channel_id', Snowflake>; +/** + * Returned when a guild's system_channel_flags is changed + */ +export type APIAuditLogChangeKeySystemChannelFlags = AuditLogChangeData<'system_channel_flags', GuildSystemChannelFlags>; + /** * Returned when a guild's system_channel_id is changed */ diff --git a/payloads/v9/auditLog.ts b/payloads/v9/auditLog.ts index 25810eed..9021cce8 100644 --- a/payloads/v9/auditLog.ts +++ b/payloads/v9/auditLog.ts @@ -17,6 +17,7 @@ import type { GuildDefaultMessageNotifications, GuildExplicitContentFilter, GuildMFALevel, + GuildSystemChannelFlags, GuildVerificationLevel, IntegrationExpireBehavior, } from './guild'; @@ -398,6 +399,7 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyRulesChannelId | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyStatus + | APIAuditLogChangeKeySystemChannelFlags | APIAuditLogChangeKeySystemChannelId | APIAuditLogChangeKeyTags | APIAuditLogChangeKeyTemporary @@ -543,6 +545,11 @@ export type APIAuditLogChangeKeyWidgetEnabled = AuditLogChangeData<'widget_enabl */ export type APIAuditLogChangeKeyWidgetChannelId = AuditLogChangeData<'widget_channel_id', Snowflake>; +/** + * Returned when a guild's system_channel_flags is changed + */ +export type APIAuditLogChangeKeySystemChannelFlags = AuditLogChangeData<'system_channel_flags', GuildSystemChannelFlags>; + /** * Returned when a guild's system_channel_id is changed */