From 6bf4637a03c6d251cf43542788de7d3d02374077 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Wed, 4 Oct 2023 23:48:00 +1100 Subject: fucking postgres --- src/gateway/opcodes/Identify.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gateway') diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts index 6de5191c..330ce561 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts @@ -273,7 +273,7 @@ export async function onIdentify(this: WebSocket, data: Payload) { return perms.has("VIEW_CHANNEL"); }) .map((channel) => { - channel.position = member.guild.channelOrdering.indexOf( + channel.position = member.guild.channel_ordering.indexOf( channel.id, ); return channel; -- cgit 1.5.1