diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-04 10:46:54 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-10-04 10:46:54 +0200 |
commit | c3ae345175a00e42e40f754a5e9c032f0b10122a (patch) | |
tree | bf82bbdc1933a2f4f09e0d1ab67da45b13f95d97 | |
parent | Merge branch 'master' of https://github.com/fosscord/fosscord-server (diff) | |
download | server-c3ae345175a00e42e40f754a5e9c032f0b10122a.tar.xz |
:sparkles: custom user flags offset
-rw-r--r-- | util/src/entities/User.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/src/entities/User.ts b/util/src/entities/User.ts index b5c2c308..5af755ed 100644 --- a/util/src/entities/User.ts +++ b/util/src/entities/User.ts @@ -256,6 +256,8 @@ export interface UserSettings { timezone_offset: number; // e.g -60 } +export const CUSTOM_USER_FLAG_OFFSET = BigInt(1) << BigInt(32); + export class UserFlags extends BitField { static FLAGS = { DISCORD_EMPLOYEE: BigInt(1) << BigInt(0), |