mirror of
https://github.com/danbulant/discord.js
synced 2026-06-06 16:22:08 +00: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:
parent
8b602ebed4
commit
359ddaf1df
1 changed files with 2 additions and 0 deletions
|
|
@ -775,6 +775,7 @@ exports.Colors = {
|
||||||
* * NOTE_TOO_LONG
|
* * NOTE_TOO_LONG
|
||||||
* * INVALID_BULK_DELETE_QUANTITY
|
* * INVALID_BULK_DELETE_QUANTITY
|
||||||
* * CANNOT_PIN_MESSAGE_IN_OTHER_CHANNEL
|
* * CANNOT_PIN_MESSAGE_IN_OTHER_CHANNEL
|
||||||
|
* * INVALID_OR_TAKEN_INVITE_CODE
|
||||||
* * CANNOT_EXECUTE_ON_SYSTEM_MESSAGE
|
* * CANNOT_EXECUTE_ON_SYSTEM_MESSAGE
|
||||||
* * BULK_DELETE_MESSAGE_TOO_OLD
|
* * BULK_DELETE_MESSAGE_TOO_OLD
|
||||||
* * INVITE_ACCEPTED_TO_GUILD_NOT_CONTANING_BOT
|
* * INVITE_ACCEPTED_TO_GUILD_NOT_CONTANING_BOT
|
||||||
|
|
@ -822,6 +823,7 @@ exports.APIErrors = {
|
||||||
NOTE_TOO_LONG: 50015,
|
NOTE_TOO_LONG: 50015,
|
||||||
INVALID_BULK_DELETE_QUANTITY: 50016,
|
INVALID_BULK_DELETE_QUANTITY: 50016,
|
||||||
CANNOT_PIN_MESSAGE_IN_OTHER_CHANNEL: 50019,
|
CANNOT_PIN_MESSAGE_IN_OTHER_CHANNEL: 50019,
|
||||||
|
INVALID_OR_TAKEN_INVITE_CODE: 50020,
|
||||||
CANNOT_EXECUTE_ON_SYSTEM_MESSAGE: 50021,
|
CANNOT_EXECUTE_ON_SYSTEM_MESSAGE: 50021,
|
||||||
BULK_DELETE_MESSAGE_TOO_OLD: 50034,
|
BULK_DELETE_MESSAGE_TOO_OLD: 50034,
|
||||||
INVITE_ACCEPTED_TO_GUILD_NOT_CONTANING_BOT: 50036,
|
INVITE_ACCEPTED_TO_GUILD_NOT_CONTANING_BOT: 50036,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue