diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-07-16 13:42:19 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-07-16 13:42:19 +1000 |
commit | 0024e9158c599dfa672f9002879f4530015d72c5 (patch) | |
tree | 0e85552fe3dbb001c7b3abcd7610ebc9818f7ecc /gateway/src | |
parent | Merge branch 'feat/offlineMembers' into slowcord (diff) | |
parent | Always display roles separately to online members (diff) | |
download | server-0024e9158c599dfa672f9002879f4530015d72c5.tar.xz |
Merge branch 'feat/offlineMembers' into slowcord
Diffstat (limited to 'gateway/src')
-rw-r--r-- | gateway/src/opcodes/LazyRequest.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gateway/src/opcodes/LazyRequest.ts b/gateway/src/opcodes/LazyRequest.ts index de5d898a..2bff1fd3 100644 --- a/gateway/src/opcodes/LazyRequest.ts +++ b/gateway/src/opcodes/LazyRequest.ts @@ -41,7 +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 + member_roles.push(member_roles.splice(member_roles.findIndex(x => x.id == guild_id))[0]); // move @everyone/online to bottom const offlineItems = []; |