diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts index 352fd6f..0c36829 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts @@ -536,6 +536,7 @@ version: 0, // TODO }, private_channels: channels, + presences: [], // TODO: Send actual data session_id: this.session_id, country_code: user.settings.locale, // TODO: do ip analysis instead users: Array.from(users), diff --git a/src/util/interfaces/Event.ts b/src/util/interfaces/Event.ts index b70b92f..24157ef 100644 --- a/src/util/interfaces/Event.ts +++ b/src/util/interfaces/Event.ts @@ -69,6 +69,7 @@ v: number; user: UserPrivate; private_channels: ReadyPrivateChannel[]; // this will be empty for bots + presences: Presence[]; session_id: string; // resuming guilds: IReadyGuildDTO[] | GuildOrUnavailable[]; // depends on capability analytics_token?: string;