mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-25 14:02:08 +00:00
fix sorting
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user