diff --git a/deno/payloads/v10/auditLog.ts b/deno/payloads/v10/auditLog.ts index 262bdace..fdd56204 100644 --- a/deno/payloads/v10/auditLog.ts +++ b/deno/payloads/v10/auditLog.ts @@ -347,6 +347,13 @@ export interface APIAuditLogOptions { * - MEMBER_ROLE_UPDATE */ integration_type?: APIGuildIntegrationType; + /** + * ID of the app whose permissions were targeted + * + * Present from: + * - APPLICATION_COMMAND_PERMISSION_UPDATE + */ + application_id?: Snowflake; } export enum AuditLogOptionsType { diff --git a/deno/payloads/v9/auditLog.ts b/deno/payloads/v9/auditLog.ts index 262bdace..fdd56204 100644 --- a/deno/payloads/v9/auditLog.ts +++ b/deno/payloads/v9/auditLog.ts @@ -347,6 +347,13 @@ export interface APIAuditLogOptions { * - MEMBER_ROLE_UPDATE */ integration_type?: APIGuildIntegrationType; + /** + * ID of the app whose permissions were targeted + * + * Present from: + * - APPLICATION_COMMAND_PERMISSION_UPDATE + */ + application_id?: Snowflake; } export enum AuditLogOptionsType { diff --git a/deno/rest/v10/voice.ts b/deno/rest/v10/voice.ts index 36af984c..382ad552 100644 --- a/deno/rest/v10/voice.ts +++ b/deno/rest/v10/voice.ts @@ -51,7 +51,7 @@ export interface RESTPatchAPIGuildVoiceStateUserJSONBody { /** * The id of the channel the user is currently in */ - channel_id: Snowflake; + channel_id?: Snowflake | undefined; /** * Toggles the user's suppress state */ diff --git a/deno/rest/v9/voice.ts b/deno/rest/v9/voice.ts index 46c2fc41..1b773734 100644 --- a/deno/rest/v9/voice.ts +++ b/deno/rest/v9/voice.ts @@ -51,7 +51,7 @@ export interface RESTPatchAPIGuildVoiceStateUserJSONBody { /** * The id of the channel the user is currently in */ - channel_id: Snowflake; + channel_id?: Snowflake | undefined; /** * Toggles the user's suppress state */ diff --git a/payloads/v10/auditLog.ts b/payloads/v10/auditLog.ts index 72b6d01b..3f4faae4 100644 --- a/payloads/v10/auditLog.ts +++ b/payloads/v10/auditLog.ts @@ -347,6 +347,13 @@ export interface APIAuditLogOptions { * - MEMBER_ROLE_UPDATE */ integration_type?: APIGuildIntegrationType; + /** + * ID of the app whose permissions were targeted + * + * Present from: + * - APPLICATION_COMMAND_PERMISSION_UPDATE + */ + application_id?: Snowflake; } export enum AuditLogOptionsType { diff --git a/payloads/v9/auditLog.ts b/payloads/v9/auditLog.ts index 72b6d01b..3f4faae4 100644 --- a/payloads/v9/auditLog.ts +++ b/payloads/v9/auditLog.ts @@ -347,6 +347,13 @@ export interface APIAuditLogOptions { * - MEMBER_ROLE_UPDATE */ integration_type?: APIGuildIntegrationType; + /** + * ID of the app whose permissions were targeted + * + * Present from: + * - APPLICATION_COMMAND_PERMISSION_UPDATE + */ + application_id?: Snowflake; } export enum AuditLogOptionsType { diff --git a/rest/v10/voice.ts b/rest/v10/voice.ts index d929ad6e..de6d7084 100644 --- a/rest/v10/voice.ts +++ b/rest/v10/voice.ts @@ -51,7 +51,7 @@ export interface RESTPatchAPIGuildVoiceStateUserJSONBody { /** * The id of the channel the user is currently in */ - channel_id: Snowflake; + channel_id?: Snowflake | undefined; /** * Toggles the user's suppress state */ diff --git a/rest/v9/voice.ts b/rest/v9/voice.ts index 42c29d0c..7fece891 100644 --- a/rest/v9/voice.ts +++ b/rest/v9/voice.ts @@ -51,7 +51,7 @@ export interface RESTPatchAPIGuildVoiceStateUserJSONBody { /** * The id of the channel the user is currently in */ - channel_id: Snowflake; + channel_id?: Snowflake | undefined; /** * Toggles the user's suppress state */