1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-23 02:42:28 +01:00

Merge branch 'feat/offlineMembers' into slowcord

This commit is contained in:
Madeline 2022-07-16 13:35:35 +10:00
commit 826626ab41
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47

View File

@ -41,6 +41,7 @@ async function getMembers(guild_id: string, range: [number, number]) {
.map((m) => m.roles)
.flat()
.unique((r: Role) => r.id);
member_roles.push(member_roles.slice(member_roles.findIndex(x => x.id == guild_id))[0]); // move @everyone/online to bottom
const offlineItems = [];