Skip to content

Commit

Permalink
fix(APIInvite): channel is not optional (#123)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
advaith1 and github-actions[bot] committed Apr 18, 2021
1 parent d6fb271 commit abe0513
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno/payloads/v8/invite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface APIInvite {
*
* See https://discord.com/developers/docs/resources/channel#channel-object
*/
channel?: Required<APIPartialChannel>;
channel: Required<APIPartialChannel>;
/**
* The user who created the invite
*
Expand Down
2 changes: 1 addition & 1 deletion payloads/v8/invite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface APIInvite {
*
* See https://discord.com/developers/docs/resources/channel#channel-object
*/
channel?: Required<APIPartialChannel>;
channel: Required<APIPartialChannel>;
/**
* The user who created the invite
*
Expand Down

0 comments on commit abe0513

Please sign in to comment.