From ebd1a3ab244c6db4b869ed8acdc646901d03ee77 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 19 Jul 2020 20:20:53 -0400 Subject: [PATCH 1/2] pager fixes --- src/intervals/departmentPager.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/intervals/departmentPager.ts b/src/intervals/departmentPager.ts index 9093e7d..28fe74a 100644 --- a/src/intervals/departmentPager.ts +++ b/src/intervals/departmentPager.ts @@ -84,7 +84,7 @@ export default async function departmentPager(client: Client): Promise m.id === id); } await client.guilds.get(client.config.guildID).fetchAllMembers(); - const members = client.guilds.get(client.config.guildID).members.values(); + const members = client.guilds.get(client.config.guildID).members.map((m) => m); for (const member of members) { const pager = await client.db.PagerNumber.findOne({ individualAssignID: member.id }).lean().exec(); @@ -115,7 +115,6 @@ export default async function departmentPager(client: Client): Promise(); for (const member of members) { let pager = await client.db.PagerNumber.findOne({ individualAssignID: member.id }).lean().exec(); // Directors From cd098deb9b0638f3724f81f3819292e18674692a Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 19 Jul 2020 20:21:37 -0400 Subject: [PATCH 2/2] ack updates --- src/configs/acknowledgements.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/configs/acknowledgements.json b/src/configs/acknowledgements.json index 1ea629e..f98dcbf 100644 --- a/src/configs/acknowledgements.json +++ b/src/configs/acknowledgements.json @@ -129,6 +129,8 @@ "id": "241361691730903040", "dept": "Associate", "emailAddress": "sterben@staff.libraryofcode.org", + "gitlab": "https://gitlab.libraryofcode.org/Sterben", + "github": "https://github.com/sterben6", "bio": "im bored" }, {