mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-05-21 02:40:08 +00:00
fix(Voice, AuditLog): voice state channel_id, audit log application_id (#1580)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
7
deno/payloads/v10/auditLog.ts
generated
7
deno/payloads/v10/auditLog.ts
generated
@@ -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 {
|
||||
|
||||
7
deno/payloads/v9/auditLog.ts
generated
7
deno/payloads/v9/auditLog.ts
generated
@@ -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 {
|
||||
|
||||
2
deno/rest/v10/voice.ts
generated
2
deno/rest/v10/voice.ts
generated
@@ -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
|
||||
*/
|
||||
|
||||
2
deno/rest/v9/voice.ts
generated
2
deno/rest/v9/voice.ts
generated
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user