feat(Constants): added more error codes (#6234)

Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
Antonio Román
2021-08-04 00:14:25 +02:00
committed by GitHub
parent 09471be30e
commit 6b2098f7c7
2 changed files with 18 additions and 0 deletions

6
typings/index.d.ts vendored
View File

@@ -2731,6 +2731,8 @@ export interface APIErrors {
UNKNOWN_STORE_DIRECTORY_LAYOUT: 10033;
UNKNOWN_REDISTRIBUTABLE: 10036;
UNKNOWN_GIFT_CODE: 10038;
UNKNOWN_STREAM: 10049;
UNKNOWN_PREMIUM_SERVER_SUBSCRIBE_COOLDOWN: 10050;
UNKNOWN_GUILD_TEMPLATE: 10057;
UNKNOWN_DISCOVERABLE_SERVER_CATEGORY: 10059;
UNKNOWN_STICKER: 10060;
@@ -2740,6 +2742,8 @@ export interface APIErrors {
UNKNOWN_STAGE_INSTANCE: 10067;
UNKNOWN_GUILD_MEMBER_VERIFICATION_FORM: 10068;
UNKNOWN_GUILD_WELCOME_SCREEN: 10069;
UNKNOWN_GUILD_SCHEDULED_EVENT: 10070;
UNKNOWN_GUILD_SCHEDULED_EVENT_USER: 10071;
BOT_PROHIBITED_ENDPOINT: 20001;
BOT_ONLY_ENDPOINT: 20002;
CANNOT_SEND_EXPLICIT_CONTENT: 20009;
@@ -2815,6 +2819,8 @@ export interface APIErrors {
INVALID_THREAD_ARCHIVE_STATE: 50083;
INVALID_THREAD_NOTIFICATION_SETTINGS: 50084;
PARAMETER_EARLIER_THAN_CREATION: 50085;
GUILD_NOT_AVAILABLE_IN_LOCATION: 50095;
GUILD_MONETIZATION_REQUIRED: 50097;
TWO_FACTOR_REQUIRED: 60003;
NO_USERS_WITH_DISCORDTAG_EXIST: 80004;
REACTION_BLOCKED: 90001;