summary refs log tree commit diff
path: root/util
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
commitc3ae345175a00e42e40f754a5e9c032f0b10122a (patch)
treebf82bbdc1933a2f4f09e0d1ab67da45b13f95d97 /util
parentMerge branch 'master' of https://github.com/fosscord/fosscord-server (diff)
downloadserver-c3ae345175a00e42e40f754a5e9c032f0b10122a.tar.xz
:sparkles: custom user flags offset
Diffstat (limited to 'util')
-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),