mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
src(constants): add missing APIErrors (#3531)
* src: Updated APIErrors * typings: Updated constants
This commit is contained in:
7
typings/index.d.ts
vendored
7
typings/index.d.ts
vendored
@@ -557,7 +557,10 @@ declare module 'discord.js' {
|
||||
MAXIMUM_PINS: 30003;
|
||||
MAXIMUM_ROLES: 30005;
|
||||
MAXIMUM_REACTIONS: 30010;
|
||||
MAXIMUM_CHANNELS: 30013;
|
||||
MAXIMUM_INVITES: 30016;
|
||||
UNAUTHORIZED: 40001;
|
||||
USER_BANNED: 40007;
|
||||
MISSING_ACCESS: 50001;
|
||||
INVALID_ACCOUNT_TYPE: 50002;
|
||||
CANNOT_EXECUTE_ON_DM: 50003;
|
||||
@@ -576,9 +579,13 @@ declare module 'discord.js' {
|
||||
INVALID_BULK_DELETE_QUANTITY: 50016;
|
||||
CANNOT_PIN_MESSAGE_IN_OTHER_CHANNEL: 50019;
|
||||
CANNOT_EXECUTE_ON_SYSTEM_MESSAGE: 50021;
|
||||
INVALID_OAUTH_TOKEN: 50025;
|
||||
BULK_DELETE_MESSAGE_TOO_OLD: 50034;
|
||||
INVALID_FORM_BODY: 50035;
|
||||
INVITE_ACCEPTED_TO_GUILD_NOT_CONTAINING_BOT: 50036;
|
||||
INVALID_API_VERSION: 50041;
|
||||
REACTION_BLOCKED: 90001;
|
||||
RESOURCE_OVERLOADED: 130000;
|
||||
};
|
||||
VoiceStatus: {
|
||||
CONNECTED: 0;
|
||||
|
||||
Reference in New Issue
Block a user