Skip to content

Commit

Permalink
chore(GatewayReady): un-document private_channels
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This property has been deprecated for a while, and was
returning an empty array for bot users. This commit removes it entirely

Reference: discord/discord-api-docs@f36156d
  • Loading branch information
vladfrangu committed Apr 10, 2021
1 parent 2d432d1 commit 457edf4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions deno/gateway/v8.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,6 @@ export interface GatewayReadyDispatchData {
* See https://discord.com/developers/docs/resources/user#user-object
*/
user: APIUser;
/**
* Empty array
*/
private_channels: [];
/**
* The guilds the user is in
*
Expand Down
4 changes: 0 additions & 4 deletions gateway/v8.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,6 @@ export interface GatewayReadyDispatchData {
* See https://discord.com/developers/docs/resources/user#user-object
*/
user: APIUser;
/**
* Empty array
*/
private_channels: [];
/**
* The guilds the user is in
*
Expand Down

0 comments on commit 457edf4

Please sign in to comment.