summary refs log tree commit diff
diff options
context:
space:
mode:
-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 330ce561..12148800 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts
@@ -278,7 +278,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { ); return channel; }) - .sort((a, b) => a.position - b.position); + .sort((a, b) => b.position - a.position); if (user.bot) { pending_guilds.push(member.guild);