mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat(Constants): add error code 50020 (#2953)
* feat(Constants): Add error code 50020 Which is throw when using the vanity-url endpoint: https://github.com/discordapp/discord-api-docs/pull/748/ * docs: Document the new code
This commit is contained in:
@@ -775,6 +775,7 @@ exports.Colors = {
|
||||
* * NOTE_TOO_LONG
|
||||
* * INVALID_BULK_DELETE_QUANTITY
|
||||
* * CANNOT_PIN_MESSAGE_IN_OTHER_CHANNEL
|
||||
* * INVALID_OR_TAKEN_INVITE_CODE
|
||||
* * CANNOT_EXECUTE_ON_SYSTEM_MESSAGE
|
||||
* * BULK_DELETE_MESSAGE_TOO_OLD
|
||||
* * INVITE_ACCEPTED_TO_GUILD_NOT_CONTANING_BOT
|
||||
@@ -822,6 +823,7 @@ exports.APIErrors = {
|
||||
NOTE_TOO_LONG: 50015,
|
||||
INVALID_BULK_DELETE_QUANTITY: 50016,
|
||||
CANNOT_PIN_MESSAGE_IN_OTHER_CHANNEL: 50019,
|
||||
INVALID_OR_TAKEN_INVITE_CODE: 50020,
|
||||
CANNOT_EXECUTE_ON_SYSTEM_MESSAGE: 50021,
|
||||
BULK_DELETE_MESSAGE_TOO_OLD: 50034,
|
||||
INVITE_ACCEPTED_TO_GUILD_NOT_CONTANING_BOT: 50036,
|
||||
|
||||
Reference in New Issue
Block a user