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

index e035e6bb..b7ee9a96 100644 --- a/gateway/src/opcodes/LazyRequest.ts +++ b/gateway/src/opcodes/LazyRequest.ts
@@ -33,7 +33,7 @@ export async function onLazyRequest(this: WebSocket, { d }: Payload) { const roles = await Role.find({ where: { guild_id: guild_id }, order: { - position: "ASC", + position: "DESC", }, }); @@ -47,7 +47,7 @@ export async function onLazyRequest(this: WebSocket, { d }: Payload) { ); const group = { count: role_members.length, - id: role.id === guild_id ? "online" : role.name, + id: role.id === guild_id ? "online" : role.id, }; items.push({ group });