diff --git a/src/bot.ts b/src/bot.ts index 25bf69bdc..c5f10703a 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -22,7 +22,6 @@ export let lastShardID = 0; export const identifyPayload: DiscordIdentify = { token: "", compress: true, - large_threshold: 50, properties: { $os: "linux", $browser: "Discordeno", diff --git a/src/types/gateway.ts b/src/types/gateway.ts index bdf098d7e..752a86bd3 100644 --- a/src/types/gateway.ts +++ b/src/types/gateway.ts @@ -104,7 +104,7 @@ export interface DiscordIdentify { /** Whether this connection supports compression of packets */ compress?: boolean; /** Value between 50 and 250, total number of members where the gateway will stop sending offline members in the guild member list */ - large_threshold: number; + large_threshold?: number; /** Used for Guild Sharding */ shard?: [number, number]; /** Presence structure for initial presence information */