summary refs log tree commit diff
path: root/src/gateway
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-10-04 23:48:00 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-10-04 23:48:00 +1100
commit6bf4637a03c6d251cf43542788de7d3d02374077 (patch)
tree39d8fe2beebe8cb229b6e5a492bedff649ae234b /src/gateway
parentfucking prettier (diff)
downloadserver-6bf4637a03c6d251cf43542788de7d3d02374077.tar.xz
fucking postgres
Diffstat (limited to 'src/gateway')
-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 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;