summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-04 10:46:54 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-04 10:46:54 +0200
commit73cf9455257778f467af095aab440d3d9d75a6da (patch)
treee6a2670ff9b968f38bbedbbccc8254fca4843e36
parentMerge branch 'master' of https://github.com/fosscord/fosscord-server (diff)
downloadserver-73cf9455257778f467af095aab440d3d9d75a6da.tar.xz
:sparkles: custom user flags offset
-rw-r--r--util/src/entities/User.ts2
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),