mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat: add api error code 160002 (#6566)
This commit is contained in:
@@ -690,6 +690,7 @@ exports.VerificationLevels = createEnum(['NONE', 'LOW', 'MEDIUM', 'HIGH', 'VERY_
|
||||
* * REACTION_BLOCKED
|
||||
* * RESOURCE_OVERLOADED
|
||||
* * STAGE_ALREADY_OPEN
|
||||
* * CANNOT_REPLY_WITHOUT_READ_MESSAGE_HISTORY_PERMISSION
|
||||
* * MESSAGE_ALREADY_HAS_THREAD
|
||||
* * THREAD_LOCKED
|
||||
* * MAXIMUM_ACTIVE_THREADS
|
||||
@@ -821,6 +822,7 @@ exports.APIErrors = {
|
||||
REACTION_BLOCKED: 90001,
|
||||
RESOURCE_OVERLOADED: 130000,
|
||||
STAGE_ALREADY_OPEN: 150006,
|
||||
CANNOT_REPLY_WITHOUT_READ_MESSAGE_HISTORY_PERMISSION: 160002,
|
||||
MESSAGE_ALREADY_HAS_THREAD: 160004,
|
||||
THREAD_LOCKED: 160005,
|
||||
MAXIMUM_ACTIVE_THREADS: 160006,
|
||||
|
||||
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -2973,6 +2973,7 @@ export interface APIErrors {
|
||||
REACTION_BLOCKED: 90001;
|
||||
RESOURCE_OVERLOADED: 130000;
|
||||
STAGE_ALREADY_OPEN: 150006;
|
||||
CANNOT_REPLY_WITHOUT_READ_MESSAGE_HISTORY_PERMISSION: 160002;
|
||||
MESSAGE_ALREADY_HAS_THREAD: 160004;
|
||||
THREAD_LOCKED: 160005;
|
||||
MAXIMUM_ACTIVE_THREADS: 160006;
|
||||
|
||||
Reference in New Issue
Block a user