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 | 73cf9455257778f467af095aab440d3d9d75a6da (patch) | |
tree | e6a2670ff9b968f38bbedbbccc8254fca4843e36 | |
parent | Merge branch 'master' of https://github.com/fosscord/fosscord-server (diff) | |
download | server-73cf9455257778f467af095aab440d3d9d75a6da.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), |