mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
misc: add UNKNOWN_WEBHOOK error code (#2775)
* Add UNKNOWN_WEBHOOK error code * docs: Update typings
This commit is contained in:
parent
5787deef26
commit
6be8172539
2 changed files with 3 additions and 0 deletions
|
|
@ -435,6 +435,7 @@ exports.Colors = {
|
|||
* * UNKNOWN_TOKEN
|
||||
* * UNKNOWN_USER
|
||||
* * UNKNOWN_EMOJI
|
||||
* * UNKNOWN_WEBHOOK
|
||||
* * BOT_PROHIBITED_ENDPOINT
|
||||
* * BOT_ONLY_ENDPOINT
|
||||
* * MAXIMUM_GUILDS
|
||||
|
|
@ -481,6 +482,7 @@ exports.APIErrors = {
|
|||
UNKNOWN_TOKEN: 10012,
|
||||
UNKNOWN_USER: 10013,
|
||||
UNKNOWN_EMOJI: 10014,
|
||||
UNKNOWN_WEBHOOK: 10015,
|
||||
BOT_PROHIBITED_ENDPOINT: 20001,
|
||||
BOT_ONLY_ENDPOINT: 20002,
|
||||
MAXIMUM_GUILDS: 30001,
|
||||
|
|
|
|||
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
|
|
@ -1380,6 +1380,7 @@ declare module 'discord.js' {
|
|||
UNKNOWN_TOKEN: number;
|
||||
UNKNOWN_USER: number;
|
||||
UNKNOWN_EMOJI: number;
|
||||
UNKNOWN_WEBHOOK: number;
|
||||
BOT_PROHIBITED_ENDPOINT: number;
|
||||
BOT_ONLY_ENDPOINT: number;
|
||||
MAXIMUM_GUILDS: number;
|
||||
|
|
|
|||
Loading…
Reference in a new issue