Skip to content

Commit

Permalink
Merge branch 'slash-commands' of https://github.com/Catboi8/eris into…
Browse files Browse the repository at this point in the history
… slash-commands
  • Loading branch information
JustCat80 committed Jul 5, 2021
2 parents cdb48c3 + 1d897fd commit 1025f24
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
5 changes: 5 additions & 0 deletions 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,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;
Expand Down
29 changes: 15 additions & 14 deletions lib/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 1025f24

Please sign in to comment.