Skip to content

Commit

Permalink
Update user flag names (abalabahaha#1235)
Browse files Browse the repository at this point in the history
Co-authored-by: bsian03 <chharry321@gmail.com>
  • Loading branch information
Awoocado and bsian03 authored Jul 3, 2021
1 parent 3548cae commit 24d84a9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
6 changes: 5 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -1265,8 +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;
CERTIFIED_MODERATOR: 262144;
DISCORD_CERTIFIED_MODERATOR: 262144;
};
VoiceOPCodes: {
IDENTIFY: 0;
Expand Down
30 changes: 15 additions & 15 deletions lib/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,21 +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,
CERTIFIED_MODERATOR: 1 << 18
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
};


Expand Down

0 comments on commit 24d84a9

Please sign in to comment.