diff --git a/deno/payloads/v8/oauth2.ts b/deno/payloads/v8/oauth2.ts index 6862e6aae..8ccc086d4 100644 --- a/deno/payloads/v8/oauth2.ts +++ b/deno/payloads/v8/oauth2.ts @@ -38,6 +38,14 @@ export interface APIApplication { * When `true` the app's bot will only join upon completion of the full oauth2 code grant flow */ bot_require_code_grant: boolean; + /** + * The url of the app's terms of service + */ + terms_of_service_url?: string; + /** + * The url of the app's privacy policy + */ + privacy_policy_url?: string; /** * Partial user object containing info on the owner of the application * @@ -88,7 +96,7 @@ export enum ApplicationFlags { GroupDMCreate = 1 << 4, RPCHasConnected = 1 << 11, GatewayPresence = 1 << 12, - GatewayPresenceLimit = 1 << 13, + GatewayPresenceLimited = 1 << 13, GatewayGuildMembers = 1 << 14, GatewayGuildMembersLimited = 1 << 15, VerificationPendingGuildLimit = 1 << 16, diff --git a/payloads/v8/oauth2.ts b/payloads/v8/oauth2.ts index 6dcdeacd0..f787aef58 100644 --- a/payloads/v8/oauth2.ts +++ b/payloads/v8/oauth2.ts @@ -38,6 +38,14 @@ export interface APIApplication { * When `true` the app's bot will only join upon completion of the full oauth2 code grant flow */ bot_require_code_grant: boolean; + /** + * The url of the app's terms of service + */ + terms_of_service_url?: string; + /** + * The url of the app's privacy policy + */ + privacy_policy_url?: string; /** * Partial user object containing info on the owner of the application * @@ -88,7 +96,7 @@ export const enum ApplicationFlags { GroupDMCreate = 1 << 4, RPCHasConnected = 1 << 11, GatewayPresence = 1 << 12, - GatewayPresenceLimit = 1 << 13, + GatewayPresenceLimited = 1 << 13, GatewayGuildMembers = 1 << 14, GatewayGuildMembersLimited = 1 << 15, VerificationPendingGuildLimit = 1 << 16,