Skip to content

Commit

Permalink
feat(APIApplicationCommand): add version field (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladfrangu committed Sep 7, 2021
1 parent e628f0f commit ecbed18
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deno/payloads/v8/_interactions/applicationCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ export interface APIApplicationCommand {
* If missing, this property should be assumed as `true`
*/
default_permission?: boolean;
/**
* Autoincrementing version identifier updated during substantial record changes
*/
version: Snowflake;
}

/**
Expand Down
4 changes: 4 additions & 0 deletions deno/payloads/v9/_interactions/applicationCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ export interface APIApplicationCommand {
* If missing, this property should be assumed as `true`
*/
default_permission?: boolean;
/**
* Autoincrementing version identifier updated during substantial record changes
*/
version: Snowflake;
}

/**
Expand Down
4 changes: 4 additions & 0 deletions payloads/v8/_interactions/applicationCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ export interface APIApplicationCommand {
* If missing, this property should be assumed as `true`
*/
default_permission?: boolean;
/**
* Autoincrementing version identifier updated during substantial record changes
*/
version: Snowflake;
}

/**
Expand Down
4 changes: 4 additions & 0 deletions payloads/v9/_interactions/applicationCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ export interface APIApplicationCommand {
* If missing, this property should be assumed as `true`
*/
default_permission?: boolean;
/**
* Autoincrementing version identifier updated during substantial record changes
*/
version: Snowflake;
}

/**
Expand Down

0 comments on commit ecbed18

Please sign in to comment.