feat: add APIError codes for stage instance (#5888)

This commit is contained in:
Shubham Parihar
2021-06-20 20:18:02 +05:30
committed by GitHub
parent 174b7a7f9c
commit c850ae1027
2 changed files with 6 additions and 0 deletions

2
typings/index.d.ts vendored
View File

@@ -2553,6 +2553,7 @@ declare module 'discord.js' {
UNKNOWN_WEBHOOK: 10015;
UNKNOWN_BAN: 10026;
UNKNOWN_GUILD_TEMPLATE: 10057;
UNKNOWN_STAGE_INSTANCE: 10067;
BOT_PROHIBITED_ENDPOINT: 20001;
BOT_ONLY_ENDPOINT: 20002;
ANNOUNCEMENT_EDIT_LIMIT_EXCEEDED: 20022;
@@ -2602,6 +2603,7 @@ declare module 'discord.js' {
CANNOT_DELETE_COMMUNITY_REQUIRED_CHANNEL: 50074;
INVALID_STICKER_SENT: 50081;
REACTION_BLOCKED: 90001;
STAGE_ALREADY_OPEN: 150006;
RESOURCE_OVERLOADED: 130000;
}