Skip to content

Commit

Permalink
fix(GuildIntegration): enabled and user are present on bots (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
almeidx committed Jan 10, 2023
1 parent a6bcb3f commit b10e9bb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions deno/payloads/v10/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ export interface APIGuildIntegration {
/**
* Is this integration enabled
*/
enabled?: boolean;
enabled: boolean;
/**
* Is this integration syncing
*
Expand Down Expand Up @@ -698,7 +698,7 @@ export interface APIGuildIntegration {
/**
* User for this integration
*
* **This field is not provided for `discord` bot integrations.**
* **Some older integrations may not have an attached user.**
*
* See https://discord.com/developers/docs/resources/user#user-object
*/
Expand Down
4 changes: 2 additions & 2 deletions deno/payloads/v9/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ export interface APIGuildIntegration {
/**
* Is this integration enabled
*/
enabled?: boolean;
enabled: boolean;
/**
* Is this integration syncing
*
Expand Down Expand Up @@ -698,7 +698,7 @@ export interface APIGuildIntegration {
/**
* User for this integration
*
* **This field is not provided for `discord` bot integrations.**
* **Some older integrations may not have an attached user.**
*
* See https://discord.com/developers/docs/resources/user#user-object
*/
Expand Down
4 changes: 2 additions & 2 deletions payloads/v10/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ export interface APIGuildIntegration {
/**
* Is this integration enabled
*/
enabled?: boolean;
enabled: boolean;
/**
* Is this integration syncing
*
Expand Down Expand Up @@ -698,7 +698,7 @@ export interface APIGuildIntegration {
/**
* User for this integration
*
* **This field is not provided for `discord` bot integrations.**
* **Some older integrations may not have an attached user.**
*
* See https://discord.com/developers/docs/resources/user#user-object
*/
Expand Down
4 changes: 2 additions & 2 deletions payloads/v9/guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ export interface APIGuildIntegration {
/**
* Is this integration enabled
*/
enabled?: boolean;
enabled: boolean;
/**
* Is this integration syncing
*
Expand Down Expand Up @@ -698,7 +698,7 @@ export interface APIGuildIntegration {
/**
* User for this integration
*
* **This field is not provided for `discord` bot integrations.**
* **Some older integrations may not have an attached user.**
*
* See https://discord.com/developers/docs/resources/user#user-object
*/
Expand Down

0 comments on commit b10e9bb

Please sign in to comment.