mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 12:42:44 +01:00
Always display roles separately to online members
This commit is contained in:
parent
e085b365be
commit
3fb2d15a29
@ -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 = [];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user