summary refs log tree commit diff
path: root/gateway
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--gateway/client.js2
-rw-r--r--gateway/src/opcodes/Identify.ts2
2 files changed, 3 insertions, 1 deletions
diff --git a/gateway/client.js b/gateway/client.js

index 34a59458..c841c6a0 100644 --- a/gateway/client.js +++ b/gateway/client.js
@@ -3,7 +3,7 @@ const WebSocket = require("ws"); const Constants = require("./dist/util/Constants"); // const ws = new WebSocket("ws://127.0.0.1:8080"); -const ws = new WebSocket("wss://gateway.discord.gg"); +const ws = new WebSocket("wss://dev.fosscord.com"); ws.on("open", () => { // ws.send(JSON.stringify({ req_type: "new_auth" })); diff --git a/gateway/src/opcodes/Identify.ts b/gateway/src/opcodes/Identify.ts
index c91ca5dd..2f9d4632 100644 --- a/gateway/src/opcodes/Identify.ts +++ b/gateway/src/opcodes/Identify.ts
@@ -179,6 +179,8 @@ export async function onIdentify(this: WebSocket, data: Payload) { x.guild_hashes = {}; // @ts-ignore x.guild_scheduled_events = []; // @ts-ignore x.threads = []; + x.premium_subscription_count = 30; + x.premium_tier = 3; return x; }), guild_experiments: [], // TODO