diff --git a/deno/payloads/v10/auditLog.ts b/deno/payloads/v10/auditLog.ts index 8a2d0864..46f69bb2 100644 --- a/deno/payloads/v10/auditLog.ts +++ b/deno/payloads/v10/auditLog.ts @@ -13,6 +13,7 @@ import type { import type { APIChannel, APIOverwrite } from './channel.ts'; import type { APIGuildIntegration, + APIGuildIntegrationType, GuildDefaultMessageNotifications, GuildExplicitContentFilter, GuildMFALevel, @@ -312,6 +313,15 @@ export interface APIAuditLogOptions { * **Present only if the {@link APIAuditLogOptions#type entry type} is "0"** */ role_name?: string; + + /** + * Type of integration which performed the action + * + * Present from: + * - MEMBER_KICK + * - MEMBER_ROLE_UPDATE + */ + integration_type?: APIGuildIntegrationType; } export enum AuditLogOptionsType { diff --git a/deno/payloads/v9/auditLog.ts b/deno/payloads/v9/auditLog.ts index 8a2d0864..46f69bb2 100644 --- a/deno/payloads/v9/auditLog.ts +++ b/deno/payloads/v9/auditLog.ts @@ -13,6 +13,7 @@ import type { import type { APIChannel, APIOverwrite } from './channel.ts'; import type { APIGuildIntegration, + APIGuildIntegrationType, GuildDefaultMessageNotifications, GuildExplicitContentFilter, GuildMFALevel, @@ -312,6 +313,15 @@ export interface APIAuditLogOptions { * **Present only if the {@link APIAuditLogOptions#type entry type} is "0"** */ role_name?: string; + + /** + * Type of integration which performed the action + * + * Present from: + * - MEMBER_KICK + * - MEMBER_ROLE_UPDATE + */ + integration_type?: APIGuildIntegrationType; } export enum AuditLogOptionsType { diff --git a/payloads/v10/auditLog.ts b/payloads/v10/auditLog.ts index b8f27a0d..8edbcdac 100644 --- a/payloads/v10/auditLog.ts +++ b/payloads/v10/auditLog.ts @@ -13,6 +13,7 @@ import type { import type { APIChannel, APIOverwrite } from './channel'; import type { APIGuildIntegration, + APIGuildIntegrationType, GuildDefaultMessageNotifications, GuildExplicitContentFilter, GuildMFALevel, @@ -312,6 +313,15 @@ export interface APIAuditLogOptions { * **Present only if the {@link APIAuditLogOptions#type entry type} is "0"** */ role_name?: string; + + /** + * Type of integration which performed the action + * + * Present from: + * - MEMBER_KICK + * - MEMBER_ROLE_UPDATE + */ + integration_type?: APIGuildIntegrationType; } export enum AuditLogOptionsType { diff --git a/payloads/v9/auditLog.ts b/payloads/v9/auditLog.ts index b8f27a0d..8edbcdac 100644 --- a/payloads/v9/auditLog.ts +++ b/payloads/v9/auditLog.ts @@ -13,6 +13,7 @@ import type { import type { APIChannel, APIOverwrite } from './channel'; import type { APIGuildIntegration, + APIGuildIntegrationType, GuildDefaultMessageNotifications, GuildExplicitContentFilter, GuildMFALevel, @@ -312,6 +313,15 @@ export interface APIAuditLogOptions { * **Present only if the {@link APIAuditLogOptions#type entry type} is "0"** */ role_name?: string; + + /** + * Type of integration which performed the action + * + * Present from: + * - MEMBER_KICK + * - MEMBER_ROLE_UPDATE + */ + integration_type?: APIGuildIntegrationType; } export enum AuditLogOptionsType {