mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 09:20:08 +00:00
types(gateway): make large_threshold optional
This commit is contained in:
@@ -22,7 +22,6 @@ export let lastShardID = 0;
|
||||
export const identifyPayload: DiscordIdentify = {
|
||||
token: "",
|
||||
compress: true,
|
||||
large_threshold: 50,
|
||||
properties: {
|
||||
$os: "linux",
|
||||
$browser: "Discordeno",
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user