Skip to content

Commit

Permalink
fix(APIMessageSnapshot): mark guild_id as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
sdanialraza committed Aug 30, 2024
1 parent 2803e8d commit fcba101
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deno/payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1916,6 +1916,8 @@ export interface APIMessageSnapshot {
message: APIMessageSnapshotFields;
/**
* Id of the origin message's guild
*
* @deprecated This field doesn't accurately reflect the Discord API as it doesn't exist nor is documented.
*/
guild_id?: Snowflake;
}
Expand Down
2 changes: 2 additions & 0 deletions deno/payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1883,6 +1883,8 @@ export interface APIMessageSnapshot {
message: APIMessageSnapshotFields;
/**
* Id of the origin message's guild
*
* @deprecated This field doesn't accurately reflect the Discord API as it doesn't exist nor is documented.
*/
guild_id?: Snowflake;
}
Expand Down
2 changes: 2 additions & 0 deletions payloads/v10/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1916,6 +1916,8 @@ export interface APIMessageSnapshot {
message: APIMessageSnapshotFields;
/**
* Id of the origin message's guild
*
* @deprecated This field doesn't accurately reflect the Discord API as it doesn't exist nor is documented.
*/
guild_id?: Snowflake;
}
Expand Down
2 changes: 2 additions & 0 deletions payloads/v9/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1883,6 +1883,8 @@ export interface APIMessageSnapshot {
message: APIMessageSnapshotFields;
/**
* Id of the origin message's guild
*
* @deprecated This field doesn't accurately reflect the Discord API as it doesn't exist nor is documented.
*/
guild_id?: Snowflake;
}
Expand Down

0 comments on commit fcba101

Please sign in to comment.