From 55960cc77827dfd4b95b91ad1259bedd69f092ea Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Thu, 16 Dec 2021 09:04:03 +0000 Subject: [PATCH] feat: Add API error code 50109 (#7112) --- src/util/Constants.js | 2 ++ typings/index.d.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/src/util/Constants.js b/src/util/Constants.js index 0701619df708..b8c01ad966f9 100644 --- a/src/util/Constants.js +++ b/src/util/Constants.js @@ -758,6 +758,7 @@ exports.VerificationLevels = createEnum(['NONE', 'LOW', 'MEDIUM', 'HIGH', 'VERY_ * * GUILD_NOT_AVAILABLE_IN_LOCATION * * GUILD_MONETIZATION_REQUIRED * * INSUFFICIENT_BOOSTS + * * INVALID_JSON * * TWO_FACTOR_REQUIRED * * NO_USERS_WITH_DISCORDTAG_EXIST * * REACTION_BLOCKED @@ -901,6 +902,7 @@ exports.APIErrors = { GUILD_NOT_AVAILABLE_IN_LOCATION: 50095, GUILD_MONETIZATION_REQUIRED: 50097, INSUFFICIENT_BOOSTS: 50101, + INVALID_JSON: 50109, TWO_FACTOR_REQUIRED: 60003, NO_USERS_WITH_DISCORDTAG_EXIST: 80004, REACTION_BLOCKED: 90001, diff --git a/typings/index.d.ts b/typings/index.d.ts index 98ca305a2df8..e30bb6d0c40d 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -3417,6 +3417,7 @@ export interface APIErrors { GUILD_NOT_AVAILABLE_IN_LOCATION: 50095; GUILD_MONETIZATION_REQUIRED: 50097; INSUFFICIENT_BOOSTS: 50101; + INVALID_JSON: 50109; TWO_FACTOR_REQUIRED: 60003; NO_USERS_WITH_DISCORDTAG_EXIST: 80004; REACTION_BLOCKED: 90001;