diff options
Diffstat (limited to 'src/gateway/opcodes/Identify.ts')
-rw-r--r-- | src/gateway/opcodes/Identify.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts index ca3ae66f..d1daff04 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts @@ -259,7 +259,10 @@ export async function onIdentify(this: WebSocket, data: Payload) { const d: ReadyEventData = { v: 9, - application: { id: application?.id ?? '', flags: application?.flags ?? 0 }, //TODO: check this code! + application: { + id: application?.id ?? "", + flags: application?.flags ?? 0, + }, //TODO: check this code! user: privateUser, user_settings: user.settings, // @ts-ignore @@ -267,7 +270,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { return { ...new ReadyGuildDTO(x as Guild & { joined_at: Date }).toJSON(), guild_hashes: {}, - joined_at: x.joined_at + joined_at: x.joined_at, }; }), guild_experiments: [], // TODO |