feat(types): add image_hash audit log change key (#2142)

This adds the `image_hash` audit log change key which is being used when a guild scheduled event cover image gets updated.

Reference: https://github.com/discord/discord-api-docs/pull/4707
This commit is contained in:
ITOH
2022-03-27 17:00:50 +02:00
committed by GitHub
parent 00c4227560
commit 468a85ffa5
2 changed files with 2 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ export function transformAuditlogEntry(bot: Bot, payload: DiscordAuditLogEntry)
case "rules_channel_id":
case "public_updates_channel_id":
case "icon_hash":
case "image_hash":
case "splash_hash":
case "owner_id":
case "widget_channel_id":

View File

@@ -1418,6 +1418,7 @@ export type DiscordAuditLogChange =
| "rules_channel_id"
| "public_updates_channel_id"
| "icon_hash"
| "image_hash"
| "splash_hash"
| "owner_id"
| "region"