diff --git a/index.d.ts b/index.d.ts index b196c7962..15a54c233 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1254,6 +1254,8 @@ declare namespace Eris { UserFlags: { NONE: 0; DISCORD_EMPLOYEE: 1; + PARTNERED_SERVER_OWNER: 2; + /** @deprecated */ DISCORD_PARTNER: 2; HYPESQUAD_EVENTS: 4; BUG_HUNTER_LEVEL_1: 8; @@ -1265,7 +1267,10 @@ declare namespace Eris { SYSTEM: 4096; BUG_HUNTER_LEVEL_2: 16384; VERIFIED_BOT: 65536; + EARLY_VERIFIED_BOT_DEVELOPER: 131072; + /** @deprecated */ VERIFIED_BOT_DEVELOPER: 131072; + DISCORD_CERTIFIED_MODERATOR: 262144; }; VoiceOPCodes: { IDENTIFY: 0; diff --git a/lib/Constants.js b/lib/Constants.js index 5671b0313..9fac47608 100644 --- a/lib/Constants.js +++ b/lib/Constants.js @@ -239,20 +239,21 @@ module.exports.ChannelTypes = { }; module.exports.UserFlags = { - NONE: 0, - DISCORD_EMPLOYEE: 1 << 0, - DISCORD_PARTNER: 1 << 1, - HYPESQUAD_EVENTS: 1 << 2, - BUG_HUNTER_LEVEL_1: 1 << 3, - HOUSE_BRAVERY: 1 << 6, - HOUSE_BRILLIANCE: 1 << 7, - HOUSE_BALANCE: 1 << 8, - EARLY_SUPPORTER: 1 << 9, - TEAM_USER: 1 << 10, - SYSTEM: 1 << 12, - BUG_HUNTER_LEVEL_2: 1 << 14, - VERIFIED_BOT: 1 << 16, - VERIFIED_BOT_DEVELOPER: 1 << 17 + NONE: 0, + DISCORD_EMPLOYEE: 1 << 0, + PARTNERED_SERVER_OWNER: 1 << 1, DISCORD_PARTNER : 1 << 1, // [DEPRECATED] + HYPESQUAD_EVENTS: 1 << 2, + BUG_HUNTER_LEVEL_1: 1 << 3, + HOUSE_BRAVERY: 1 << 6, + HOUSE_BRILLIANCE: 1 << 7, + HOUSE_BALANCE: 1 << 8, + EARLY_SUPPORTER: 1 << 9, + TEAM_USER: 1 << 10, + SYSTEM: 1 << 12, + BUG_HUNTER_LEVEL_2: 1 << 14, + VERIFIED_BOT: 1 << 16, + EARLY_VERIFIED_BOT_DEVELOPER: 1 << 17, VERIFIED_BOT_DEVELOPER: 1 << 17, // [DEPRECATED] + DISCORD_CERTIFIED_MODERATOR: 1 << 18 }; module.exports.Intents = {