docs: add new HTTP Error Codes 50068 (v13)

#8273 v13.9.0
This commit is contained in:
March 7th 2022-07-18 00:56:30 +07:00
parent 84aa682bf6
commit 0e38d4caf7
2 changed files with 3 additions and 0 deletions

View File

@ -1071,6 +1071,7 @@ exports.VerificationLevels = createEnum(['NONE', 'LOW', 'MEDIUM', 'HIGH', 'VERY_
* * GIFT_CODE_CLAIMED * * GIFT_CODE_CLAIMED
* * CANNOT_SELF_REDEEM_GIFT * * CANNOT_SELF_REDEEM_GIFT
* * INVALID_GUILD * * INVALID_GUILD
* * INVALID_MESSAGE_TYPE
* * PAYMENT_SOURCE_REQUIRED * * PAYMENT_SOURCE_REQUIRED
* * CANNOT_DELETE_COMMUNITY_REQUIRED_CHANNEL * * CANNOT_DELETE_COMMUNITY_REQUIRED_CHANNEL
* * INVALID_STICKER_SENT * * INVALID_STICKER_SENT
@ -1222,6 +1223,7 @@ exports.APIErrors = {
GIFT_CODE_CLAIMED: 50050, GIFT_CODE_CLAIMED: 50050,
CANNOT_SELF_REDEEM_GIFT: 50054, CANNOT_SELF_REDEEM_GIFT: 50054,
INVALID_GUILD: 50055, INVALID_GUILD: 50055,
INVALID_MESSAGE_TYPE: 50068,
PAYMENT_SOURCE_REQUIRED: 50070, PAYMENT_SOURCE_REQUIRED: 50070,
CANNOT_DELETE_COMMUNITY_REQUIRED_CHANNEL: 50074, CANNOT_DELETE_COMMUNITY_REQUIRED_CHANNEL: 50074,
INVALID_STICKER_SENT: 50081, INVALID_STICKER_SENT: 50081,

1
typings/index.d.ts vendored
View File

@ -4172,6 +4172,7 @@ export interface APIErrors {
GIFT_CODE_CLAIMED: 50050; GIFT_CODE_CLAIMED: 50050;
CANNOT_SELF_REDEEM_GIFT: 50054; CANNOT_SELF_REDEEM_GIFT: 50054;
INVALID_GUILD: 50055; INVALID_GUILD: 50055;
INVALID_MESSAGE_TYPE: 50068;
PAYMENT_SOURCE_REQUIRED: 50070; PAYMENT_SOURCE_REQUIRED: 50070;
CANNOT_DELETE_COMMUNITY_REQUIRED_CHANNEL: 50074; CANNOT_DELETE_COMMUNITY_REQUIRED_CHANNEL: 50074;
INVALID_STICKER_SENT: 50081; INVALID_STICKER_SENT: 50081;