Skip to content

Commit

Permalink
feat(APIAuditLogOptions): add integration_type (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx authored Aug 24, 2023
1 parent 729d4bf commit 31c8549
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deno/payloads/v10/auditLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import type {
import type { APIChannel, APIOverwrite } from './channel.ts';
import type {
APIGuildIntegration,
APIGuildIntegrationType,
GuildDefaultMessageNotifications,
GuildExplicitContentFilter,
GuildMFALevel,
Expand Down Expand Up @@ -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 {
Expand Down
10 changes: 10 additions & 0 deletions deno/payloads/v9/auditLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import type {
import type { APIChannel, APIOverwrite } from './channel.ts';
import type {
APIGuildIntegration,
APIGuildIntegrationType,
GuildDefaultMessageNotifications,
GuildExplicitContentFilter,
GuildMFALevel,
Expand Down Expand Up @@ -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 {
Expand Down
10 changes: 10 additions & 0 deletions payloads/v10/auditLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import type {
import type { APIChannel, APIOverwrite } from './channel';
import type {
APIGuildIntegration,
APIGuildIntegrationType,
GuildDefaultMessageNotifications,
GuildExplicitContentFilter,
GuildMFALevel,
Expand Down Expand Up @@ -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 {
Expand Down
10 changes: 10 additions & 0 deletions payloads/v9/auditLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import type {
import type { APIChannel, APIOverwrite } from './channel';
import type {
APIGuildIntegration,
APIGuildIntegrationType,
GuildDefaultMessageNotifications,
GuildExplicitContentFilter,
GuildMFALevel,
Expand Down Expand Up @@ -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 {
Expand Down

1 comment on commit 31c8549

@vercel
Copy link

@vercel vercel bot commented on 31c8549 Aug 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.