summary refs log tree commit diff
path: root/src/opcodes/Identify.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-03-22 21:52:13 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-03-22 21:52:13 +0100
commitccfa61ca63636c5d5515455eb6e50864f80a101d (patch)
tree34774c11feba280482a7e1e2cb42d98f3eeec5a5 /src/opcodes/Identify.ts
parent:sparkles: load .env file (diff)
downloadserver-ccfa61ca63636c5d5515455eb6e50864f80a101d.tar.xz
:art: rename userid -> user_id
Diffstat (limited to 'src/opcodes/Identify.ts')
-rw-r--r--src/opcodes/Identify.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opcodes/Identify.ts b/src/opcodes/Identify.ts

index f62f66b0..f2542bc8 100644 --- a/src/opcodes/Identify.ts +++ b/src/opcodes/Identify.ts
@@ -14,7 +14,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { const identify: IdentifySchema = data.d; var decoded = await checkToken(identify.token); - this.userid = decoded.id; + this.user_id = decoded.id; this.intents = new Intents(identify.intents); await setupListener.call(this);