feat(guild): add mfa error code

This commit is contained in:
March 7th 2022-06-08 10:56:09 +07:00
parent 305ccaac90
commit 50cce53975
2 changed files with 2 additions and 0 deletions

View File

@ -1033,6 +1033,7 @@ exports.APIErrors = {
INVALID_AUTHENTICATION_TOKEN: 50014, INVALID_AUTHENTICATION_TOKEN: 50014,
NOTE_TOO_LONG: 50015, NOTE_TOO_LONG: 50015,
INVALID_BULK_DELETE_QUANTITY: 50016, INVALID_BULK_DELETE_QUANTITY: 50016,
INVALID_MFA_LEVEL: 50017,
CANNOT_PIN_MESSAGE_IN_OTHER_CHANNEL: 50019, CANNOT_PIN_MESSAGE_IN_OTHER_CHANNEL: 50019,
INVALID_OR_TAKEN_INVITE_CODE: 50020, INVALID_OR_TAKEN_INVITE_CODE: 50020,
CANNOT_EXECUTE_ON_SYSTEM_MESSAGE: 50021, CANNOT_EXECUTE_ON_SYSTEM_MESSAGE: 50021,

1
typings/index.d.ts vendored
View File

@ -3889,6 +3889,7 @@ export interface APIErrors {
INVALID_AUTHENTICATION_TOKEN: 50014; INVALID_AUTHENTICATION_TOKEN: 50014;
NOTE_TOO_LONG: 50015; NOTE_TOO_LONG: 50015;
INVALID_BULK_DELETE_QUANTITY: 50016; INVALID_BULK_DELETE_QUANTITY: 50016;
INVALID_MFA_LEVEL: 50017;
CANNOT_PIN_MESSAGE_IN_OTHER_CHANNEL: 50019; CANNOT_PIN_MESSAGE_IN_OTHER_CHANNEL: 50019;
INVALID_OR_TAKEN_INVITE_CODE: 50020; INVALID_OR_TAKEN_INVITE_CODE: 50020;
CANNOT_EXECUTE_ON_SYSTEM_MESSAGE: 50021; CANNOT_EXECUTE_ON_SYSTEM_MESSAGE: 50021;