diff --git a/deno/payloads/v8/auditLog.ts b/deno/payloads/v8/auditLog.ts index 9a1601316..9cc7bb9f1 100644 --- a/deno/payloads/v8/auditLog.ts +++ b/deno/payloads/v8/auditLog.ts @@ -320,7 +320,8 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyGuildId | APIAuditLogChangeKeyEntityType | APIAuditLogChangeKeyStatus - | APIAuditLogChangeKeyLocation; + | APIAuditLogChangeKeyLocation + | APIAuditLogChangeKeyCommunicationDisabledUntil; /** * Returned when an entity's name is changed @@ -644,6 +645,11 @@ export type APIAuditLogChangeKeyStatus = AuditLogChangeData<'status', GuildSched */ export type APIAuditLogChangeKeyLocation = AuditLogChangeData<'location', string>; +/** + * Returned when a user's timeout is changed + */ +export type APIAuditLogChangeKeyCommunicationDisabledUntil = AuditLogChangeData<'communication_disabled_until', string>; + interface AuditLogChangeData { key: K; /** diff --git a/deno/payloads/v9/auditLog.ts b/deno/payloads/v9/auditLog.ts index 5d0c16a45..fd93828b6 100644 --- a/deno/payloads/v9/auditLog.ts +++ b/deno/payloads/v9/auditLog.ts @@ -336,7 +336,8 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyDefaultAutoArchiveDuration | APIAuditLogChangeKeyEntityType | APIAuditLogChangeKeyStatus - | APIAuditLogChangeKeyLocation; + | APIAuditLogChangeKeyLocation + | APIAuditLogChangeKeyCommunicationDisabledUntil; /** * Returned when an entity's name is changed @@ -683,6 +684,11 @@ export type APIAuditLogChangeKeyStatus = AuditLogChangeData<'status', GuildSched */ export type APIAuditLogChangeKeyLocation = AuditLogChangeData<'location', string>; +/** + * Returned when a user's timeout is changed + */ +export type APIAuditLogChangeKeyCommunicationDisabledUntil = AuditLogChangeData<'communication_disabled_until', string>; + interface AuditLogChangeData { key: K; /** diff --git a/payloads/v8/auditLog.ts b/payloads/v8/auditLog.ts index 2e5d11783..f8cfe0417 100644 --- a/payloads/v8/auditLog.ts +++ b/payloads/v8/auditLog.ts @@ -320,7 +320,8 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyGuildId | APIAuditLogChangeKeyEntityType | APIAuditLogChangeKeyStatus - | APIAuditLogChangeKeyLocation; + | APIAuditLogChangeKeyLocation + | APIAuditLogChangeKeyCommunicationDisabledUntil; /** * Returned when an entity's name is changed @@ -644,6 +645,11 @@ export type APIAuditLogChangeKeyStatus = AuditLogChangeData<'status', GuildSched */ export type APIAuditLogChangeKeyLocation = AuditLogChangeData<'location', string>; +/** + * Returned when a user's timeout is changed + */ +export type APIAuditLogChangeKeyCommunicationDisabledUntil = AuditLogChangeData<'communication_disabled_until', string>; + interface AuditLogChangeData { key: K; /** diff --git a/payloads/v9/auditLog.ts b/payloads/v9/auditLog.ts index 0022e8732..fb51148b6 100644 --- a/payloads/v9/auditLog.ts +++ b/payloads/v9/auditLog.ts @@ -336,7 +336,8 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyDefaultAutoArchiveDuration | APIAuditLogChangeKeyEntityType | APIAuditLogChangeKeyStatus - | APIAuditLogChangeKeyLocation; + | APIAuditLogChangeKeyLocation + | APIAuditLogChangeKeyCommunicationDisabledUntil; /** * Returned when an entity's name is changed @@ -683,6 +684,11 @@ export type APIAuditLogChangeKeyStatus = AuditLogChangeData<'status', GuildSched */ export type APIAuditLogChangeKeyLocation = AuditLogChangeData<'location', string>; +/** + * Returned when a user's timeout is changed + */ +export type APIAuditLogChangeKeyCommunicationDisabledUntil = AuditLogChangeData<'communication_disabled_until', string>; + interface AuditLogChangeData { key: K; /**