From ccfa61ca63636c5d5515455eb6e50864f80a101d Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Mon, 22 Mar 2021 21:52:13 +0100 Subject: :art: rename userid -> user_id --- src/opcodes/Identify.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/opcodes') 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); -- cgit 1.5.1