From c3ae345175a00e42e40f754a5e9c032f0b10122a Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Mon, 4 Oct 2021 10:46:54 +0200 Subject: [PATCH] :sparkles: custom user flags offset --- util/src/entities/User.ts | 2 ++ 1 file changed, 2 insertions(+) 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),