From f532002574b655d87151c325be6c02fe6f65bbe0 Mon Sep 17 00:00:00 2001 From: Vitor Date: Fri, 25 Mar 2022 23:15:58 +0000 Subject: [PATCH] feat(APIAuditLogChange): add `APIAuditLogChangeKeyImageHash` (#379) --- deno/payloads/v10/auditLog.ts | 6 ++++++ deno/payloads/v9/auditLog.ts | 6 ++++++ payloads/v10/auditLog.ts | 6 ++++++ payloads/v9/auditLog.ts | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/deno/payloads/v10/auditLog.ts b/deno/payloads/v10/auditLog.ts index ab5c7a6a..b3861056 100644 --- a/deno/payloads/v10/auditLog.ts +++ b/deno/payloads/v10/auditLog.ts @@ -273,6 +273,7 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyName | APIAuditLogChangeKeyDescription | APIAuditLogChangeKeyIconHash + | APIAuditLogChangeKeyImageHash | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyDiscoverySplashHash | APIAuditLogChangeKeyBannerHash @@ -354,6 +355,11 @@ export type APIAuditLogChangeKeyDescription = AuditLogChangeData<'description', */ export type APIAuditLogChangeKeyIconHash = AuditLogChangeData<'icon_hash', string>; +/** + * Returned when a guild's scheduled event's cover image is changed + */ +export type APIAuditLogChangeKeyImageHash = AuditLogChangeData<'image_hash', string>; + /** * Returned when a guild's splash is changed */ diff --git a/deno/payloads/v9/auditLog.ts b/deno/payloads/v9/auditLog.ts index ab5c7a6a..b3861056 100644 --- a/deno/payloads/v9/auditLog.ts +++ b/deno/payloads/v9/auditLog.ts @@ -273,6 +273,7 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyName | APIAuditLogChangeKeyDescription | APIAuditLogChangeKeyIconHash + | APIAuditLogChangeKeyImageHash | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyDiscoverySplashHash | APIAuditLogChangeKeyBannerHash @@ -354,6 +355,11 @@ export type APIAuditLogChangeKeyDescription = AuditLogChangeData<'description', */ export type APIAuditLogChangeKeyIconHash = AuditLogChangeData<'icon_hash', string>; +/** + * Returned when a guild's scheduled event's cover image is changed + */ +export type APIAuditLogChangeKeyImageHash = AuditLogChangeData<'image_hash', string>; + /** * Returned when a guild's splash is changed */ diff --git a/payloads/v10/auditLog.ts b/payloads/v10/auditLog.ts index 36d8d8e6..351f7667 100644 --- a/payloads/v10/auditLog.ts +++ b/payloads/v10/auditLog.ts @@ -273,6 +273,7 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyName | APIAuditLogChangeKeyDescription | APIAuditLogChangeKeyIconHash + | APIAuditLogChangeKeyImageHash | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyDiscoverySplashHash | APIAuditLogChangeKeyBannerHash @@ -354,6 +355,11 @@ export type APIAuditLogChangeKeyDescription = AuditLogChangeData<'description', */ export type APIAuditLogChangeKeyIconHash = AuditLogChangeData<'icon_hash', string>; +/** + * Returned when a guild's scheduled event's cover image is changed + */ +export type APIAuditLogChangeKeyImageHash = AuditLogChangeData<'image_hash', string>; + /** * Returned when a guild's splash is changed */ diff --git a/payloads/v9/auditLog.ts b/payloads/v9/auditLog.ts index 36d8d8e6..351f7667 100644 --- a/payloads/v9/auditLog.ts +++ b/payloads/v9/auditLog.ts @@ -273,6 +273,7 @@ export type APIAuditLogChange = | APIAuditLogChangeKeyName | APIAuditLogChangeKeyDescription | APIAuditLogChangeKeyIconHash + | APIAuditLogChangeKeyImageHash | APIAuditLogChangeKeySplashHash | APIAuditLogChangeKeyDiscoverySplashHash | APIAuditLogChangeKeyBannerHash @@ -354,6 +355,11 @@ export type APIAuditLogChangeKeyDescription = AuditLogChangeData<'description', */ export type APIAuditLogChangeKeyIconHash = AuditLogChangeData<'icon_hash', string>; +/** + * Returned when a guild's scheduled event's cover image is changed + */ +export type APIAuditLogChangeKeyImageHash = AuditLogChangeData<'image_hash', string>; + /** * Returned when a guild's splash is changed */