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

index be52450a..e9b91a3d 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts
@@ -450,7 +450,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { ...member.guild.toJSON(), joined_at: member.joined_at, - threads: [], + threads: member.guild.channels.filter((x) => x.isThread()), }; }); const generateGuildsListTime = taskSw.getElapsedAndReset();