@@ -10,7 +10,7 @@ import type {
1010 AutoModerationRuleEventType ,
1111 AutoModerationRuleTriggerType ,
1212} from './autoModeration.ts' ;
13- import type { APIChannel , APIOverwrite } from './channel.ts' ;
13+ import type { APIChannel , APIGuildForumDefaultReactionEmoji , APIGuildForumTag , APIOverwrite , ChannelFlags } from './channel.ts' ;
1414import type {
1515 APIGuildIntegration ,
1616 APIGuildIntegrationType ,
@@ -412,7 +412,11 @@ export type APIAuditLogChange =
412412 | APIAuditLogChangeKeyVanityURLCode
413413 | APIAuditLogChangeKeyVerificationLevel
414414 | APIAuditLogChangeKeyWidgetChannelId
415- | APIAuditLogChangeKeyWidgetEnabled ;
415+ | APIAuditLogChangeKeyWidgetEnabled
416+ | APIAuditLogChangeKeyAvailableTags
417+ | APIAuditLogChangeKeyDefaultReactionEmoji
418+ | APIAuditLogChangeKeyFlags
419+ | APIAuditLogChangeKeyDefaultThreadRateLimitPerUser ;
416420
417421/**
418422 * Returned when an entity's name is changed
@@ -826,6 +830,27 @@ export type APIAuditLogChangeKeyExemptRoles = AuditLogChangeData<'exempt_roles',
826830 */
827831export type APIAuditLogChangeKeyExemptChannels = AuditLogChangeData < 'exempt_channels' , Snowflake [ ] > ;
828832
833+ /**
834+ * Returned when a guild forum's available tags gets changed
835+ */
836+ export type APIAuditLogChangeKeyAvailableTags = AuditLogChangeData < 'available_tags' , APIGuildForumTag [ ] >
837+
838+ /**
839+ * Returned when a guild forum's default reaction emoji gets changed
840+ */
841+ export type APIAuditLogChangeKeyDefaultReactionEmoji = AuditLogChangeData < 'default_reaction_emoji' , APIGuildForumDefaultReactionEmoji >
842+
843+ /**
844+ * Returned when a channel flag gets changed
845+ */
846+ export type APIAuditLogChangeKeyFlags = AuditLogChangeData < 'flags' , number >
847+
848+ /**
849+ * Returned when a thread's amount of seconds a user has to wait before sending another message
850+ * is changed
851+ */
852+ export type APIAuditLogChangeKeyDefaultThreadRateLimitPerUser = AuditLogChangeData < 'default_thread_rate_limit_per_user' , number >
853+
829854interface AuditLogChangeData < K extends string , D > {
830855 key : K ;
831856 /**
0 commit comments