Skip to content

Commit

Permalink
feat(APIAuditLogChange): add APIAuditLogChangeKeyImageHash (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvito7 committed Mar 25, 2022
1 parent f75c632 commit f532002
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deno/payloads/v10/auditLog.ts
Expand Up @@ -273,6 +273,7 @@ export type APIAuditLogChange =
| APIAuditLogChangeKeyName
| APIAuditLogChangeKeyDescription
| APIAuditLogChangeKeyIconHash
| APIAuditLogChangeKeyImageHash
| APIAuditLogChangeKeySplashHash
| APIAuditLogChangeKeyDiscoverySplashHash
| APIAuditLogChangeKeyBannerHash
Expand Down Expand Up @@ -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
*/
Expand Down
6 changes: 6 additions & 0 deletions deno/payloads/v9/auditLog.ts
Expand Up @@ -273,6 +273,7 @@ export type APIAuditLogChange =
| APIAuditLogChangeKeyName
| APIAuditLogChangeKeyDescription
| APIAuditLogChangeKeyIconHash
| APIAuditLogChangeKeyImageHash
| APIAuditLogChangeKeySplashHash
| APIAuditLogChangeKeyDiscoverySplashHash
| APIAuditLogChangeKeyBannerHash
Expand Down Expand Up @@ -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
*/
Expand Down
6 changes: 6 additions & 0 deletions payloads/v10/auditLog.ts
Expand Up @@ -273,6 +273,7 @@ export type APIAuditLogChange =
| APIAuditLogChangeKeyName
| APIAuditLogChangeKeyDescription
| APIAuditLogChangeKeyIconHash
| APIAuditLogChangeKeyImageHash
| APIAuditLogChangeKeySplashHash
| APIAuditLogChangeKeyDiscoverySplashHash
| APIAuditLogChangeKeyBannerHash
Expand Down Expand Up @@ -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
*/
Expand Down
6 changes: 6 additions & 0 deletions payloads/v9/auditLog.ts
Expand Up @@ -273,6 +273,7 @@ export type APIAuditLogChange =
| APIAuditLogChangeKeyName
| APIAuditLogChangeKeyDescription
| APIAuditLogChangeKeyIconHash
| APIAuditLogChangeKeyImageHash
| APIAuditLogChangeKeySplashHash
| APIAuditLogChangeKeyDiscoverySplashHash
| APIAuditLogChangeKeyBannerHash
Expand Down Expand Up @@ -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
*/
Expand Down

0 comments on commit f532002

Please sign in to comment.