Merge remote-tracking branch 'origin/master'

This commit is contained in:
AlTech98
2021-09-03 13:36:22 +02:00
6 changed files with 43 additions and 21 deletions
+2 -2
View File
@@ -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 });