summary refs log tree commit diff
path: root/rtc/src/util/UserFlags.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 13:00:16 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 13:00:16 +0200
commit0a08938d181bb6c30f480aa2f479bc4a22fce9df (patch)
tree25661686ded1b5806a345b6cf26c733910385a7b /rtc/src/util/UserFlags.ts
parentrename @fosscord/server-util to -> @fosscord/util (diff)
downloadserver-0a08938d181bb6c30f480aa2f479bc4a22fce9df.tar.xz
cleanup rtc
Diffstat (limited to 'rtc/src/util/UserFlags.ts')
-rw-r--r--rtc/src/util/UserFlags.ts22
1 files changed, 0 insertions, 22 deletions
diff --git a/rtc/src/util/UserFlags.ts b/rtc/src/util/UserFlags.ts
deleted file mode 100644

index 72394eff..00000000 --- a/rtc/src/util/UserFlags.ts +++ /dev/null
@@ -1,22 +0,0 @@ -// https://github.com/discordjs/discord.js/blob/master/src/util/UserFlags.js -// Apache License Version 2.0 Copyright 2015 - 2021 Amish Shah - -import { BitField } from "./BitField"; - -export class UserFlags extends BitField { - static FLAGS = { - DISCORD_EMPLOYEE: BigInt(1) << BigInt(0), - PARTNERED_SERVER_OWNER: BigInt(1) << BigInt(1), - HYPESQUAD_EVENTS: BigInt(1) << BigInt(2), - BUGHUNTER_LEVEL_1: BigInt(1) << BigInt(3), - HOUSE_BRAVERY: BigInt(1) << BigInt(6), - HOUSE_BRILLIANCE: BigInt(1) << BigInt(7), - HOUSE_BALANCE: BigInt(1) << BigInt(8), - EARLY_SUPPORTER: BigInt(1) << BigInt(9), - TEAM_USER: BigInt(1) << BigInt(10), - SYSTEM: BigInt(1) << BigInt(12), - BUGHUNTER_LEVEL_2: BigInt(1) << BigInt(14), - VERIFIED_BOT: BigInt(1) << BigInt(16), - EARLY_VERIFIED_BOT_DEVELOPER: BigInt(1) << BigInt(17), - }; -}