mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-22 02:12:40 +01:00
fix sorting
This commit is contained in:
parent
6bf4637a03
commit
95ff366a95
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user