summary refs log tree commit diff
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-07-06 20:17:27 +0200
committerRory& <root@rory.gay>2025-07-06 20:17:27 +0200
commit5feebe7672e80fc0349cab09b5f3cea2fc23c1da (patch)
tree01b8599a8998ef82ed15ee65bcef0592cd515cda
parentMove erkinalp intents out (diff)
downloadserver-ts-5feebe7672e80fc0349cab09b5f3cea2fc23c1da.tar.xz
Use binary flags for default intents in identify
-rw-r--r--src/gateway/opcodes/Identify.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts

index f0a2016eb..fe0f243f6 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts
@@ -94,7 +94,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { this.user_id = user.id; // Check intents - if (!identify.intents) identify.intents = 30064771071n; // TODO: what is this number? + if (!identify.intents) identify.intents = 0b11011111111111111111111111111111111n; // TODO: what is this number? this.intents = new Intents(identify.intents); // TODO: actually do intent things.